RSPortal!reportserverwebapp!RSPortal.exe!9!01/20/2024-04:55:24:: e ERROR: OData exception occurred: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.ReportingServices.Portal.Services.ServicesUtil.CreateRsService(IPrincipal principal) at Microsoft.ReportingServices.Portal.Services.SystemResources.SystemResourceService.InternalGetSystemResourceByTypeName(IPrincipal userPrincipal, String typeName) at Microsoft.ReportingServices.Portal.Services.SystemResources.SystemResourceService.TryGetPayload(IPrincipal userPrincipal, String typeName, String itemName, String& contentType, String& filename, Byte[]& bytes) at Microsoft.ReportingServices.Portal.ODataWebApi.V1.Controllers.UnboundFunctionController.SafeGetSystemResourceContent(String type, String key) at lambda_method(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext().
at Microsoft.ReportingServices.Portal.Services.ServicesUtil.CreateRsService(IPrincipal principal)
I am getting the above Exception, when trying to use the Anonymous authentication, but when I use the windows authentication I am able to see the portal, but this specific use case we wanted anonymous authentication, and Idea how can I resolve this issue?
Also, in my web.config file I have below code for Microsoft Analysis Services but the path present in the codebase href is not present on the Windows Server where I am deploying the SSRS.
I wanted to know is there any connection between the exception that I am getting above and the below missing path.
Also when I am accessing the ReportServer , that is working fine, I am able to generate the report, only when I try to access the Portal I am getting the above exception in the Logfiles.
<dependentAssembly>
<assemblyIdentity name="msmgdsrv" publicKeyToken="89845dcd8080cc91" />
<bindingRedirect oldVersion="9.0.0.0-14.0.0.0" newVersion="14.0.0.0" />
<codeBase version="14.0.0.0" href="%ProgramFiles%\Microsoft Analysis Services\AS OLEDB\140\msmgdsrv.dll" />