I found this document about TypeInitializationException for you, maybe you can use it as a reference:https://learn.microsoft.com/en-us/dotnet/api/system.typeinitializationexception?view=net-8.0.
Best regards,
Aniya
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Good day,
Users cannot access the SSRS report through the portal, this happened after the servers went offline due a UPS. Any way, When trying to access the http://servername/reports site, the RSPortal....log files has the following entry each time. I have tried everything short of an uninstalling and reinstalling SSRS. We are using version 14.0.600.1763. QA server with the same config is working perfectly fine after I restarted up the SSRS service and IIS.
<Header>
<Product>Microsoft SQL Server Reporting Services Version 14.0.600.1763</Product>
<Locale>en-US</Locale>
<TimeZone>South Africa Standard Time</TimeZone>
<Path>C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\LogFiles\RSPortal_2023_12_12_18_07_42.log</Path>
<SystemName>SERVERNAME</SystemName>
<OSName>Microsoft Windows NT 6.2.9200.0</OSName>
<OSVersion>6.2.9200.0</OSVersion>
</Header>
RSPortal!reportserverwebapp!RSPortal.exe!1!12/12/2023-18:07:43:: i INFO: Starting ReportServerWebApp
RSPortal!reportserverwebapp!RSPortal.exe!1!12/12/2023-18:07:43:: i INFO: Working directory : C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\Portal
RSPortal!reportserverwebapp!RSPortal.exe!1!12/12/2023-18:07:43:: i INFO: Report Server url: http://SERVERNAME/ReportServer
RSPortal!reportserverwebapp!RSPortal.exe!1!12/12/2023-18:07:43:: i INFO: Report Server Web App virtual root: /Reports
RSPortal!reportserverwebapp!RSPortal.exe!1!12/12/2023-18:07:43:: i INFO: Web app url: http://+:80/Reports/
RSPortal!reportserverwebapp!RSPortal.exe!1!12/12/2023-18:07:43:: i INFO: Authentication scheme(s): Ntlm
RSPortal!reportserverwebapp!RSPortal.exe!1!12/12/2023-18:07:43:: e ERROR: Unhandled exception: System.TypeInitializationException: The type initializer for 'Microsoft.ReportingServices.Portal.Services.TelemetryService' threw an exception. ---> System.Management.ManagementException: Invalid class
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at Microsoft.ReportingServices.Portal.Services.TelemetryService.GetNumberOfProcessors()
at Microsoft.ReportingServices.Portal.Services.TelemetryService..cctor()
--- End of inner exception stack trace ---
at Microsoft.ReportingServices.Portal.Services.TelemetryService..ctor(ITelemetryConfigurationFactory factory, IPortalConfigurationManager configManager, ISystemService systemService)
at Microsoft.ReportingServices.Portal.WebHost.Owin.PortalPipeline.Create(IAppBuilder appBuilder, IPortalConfigurationManager portalConfigurationManager, ILogger logger)
at Microsoft.Owin.Hosting.Engine.HostingEngine.Start(StartContext context)
at Microsoft.ReportingServices.Portal.WebHost.Services.Impl.WebAppWrapper.Start(StartOptions options, IPortalConfigurationManager rsConfigManager, ILogger logger)
at Microsoft.ReportingServices.Portal.WebHost.Services.Impl.WebAppServiceController.Start()
at Microsoft.ReportingServices.Portal.WebHost.Program.Run()
at Microsoft.ReportingServices.Portal.WebHost.Program.Main(String[] args).
I found this document about TypeInitializationException for you, maybe you can use it as a reference:https://learn.microsoft.com/en-us/dotnet/api/system.typeinitializationexception?view=net-8.0.
Best regards,
Aniya