首页 > 解决方案 > D365 本地报告服务器 Web 门户应用程序 500 内部错误

问题描述

我对 SSRS 门户网站有这个问题,它无法正常工作。我已经恢复了一些 AX 数据库并安装了 D365 的更新,但我还没有触及 SSRS 配置或数据库。我在 WebPortalApp 中收到此错误:

Microsoft.ReportingServices.Portal.WebHost!crypto!1!03/19/2019-12:47:09:: i INFO: Initializing crypto as user: NT AUTHORITY\SYSTEM Microsoft.ReportingServices.Portal.WebHost!crypto!1!03/19/2019-12:47:09:: i INFO: Exporting public key Microsoft.ReportingServices.Portal.WebHost!crypto!1!03/19/2019-12:47:09:: i INFO: Importing existing encryption key Microsoft.ReportingServices.Portal.WebHost!reportserverwebapp!1!03/19/2019-12:47:09:: i INFO: Registering 300 : CsrfTokenValidationConfig Microsoft.ReportingServices.Portal.WebHost!reportserverwebapp!1!03/19/2019-12:47:09:: i INFO: Registering 500 : WebApiOwinConfig Microsoft.ReportingServices.Portal.WebHost!reportserverwebapp!1!03/19/2019-12:47:10:: i INFO: Registering 600 : ODataWebApiOwinConfig Microsoft.ReportingServices.Portal.WebHost!reportserverwebapp!3!03/19/2019-12:50:46:: e ERROR: [fz2yv91e]: fe80::6907:f912:7536:48e2%8: GET - 0:00:00.0805311 Exception: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Dynamics.Framework.Reports.AuthenticationExtension.GetUserInfo(IIdentity& userIdentity, IntPtr& userId) at Microsoft.ReportingServices.Portal.WebHost.Services.AuthenticationService.GetUserInfo(IRSRequestContext requestContext) at Microsoft.ReportingServices.Portal.WebHost.Owin.CustomAuthenticationMiddleware.Invoke(IOwinContext context) at Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware`1.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.Runtime.CompilerServices.TaskAwaiter.GetResult() at Microsoft.ReportingServices.Portal.WebHost.Owin.RequestLoggingMiddleware.d__0.MoveNext()

/ReportServer 工作正常

标签: reporting-servicesmicrosoft-dynamicsdynamics-365dynamics-365-operations

解决方案


“C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\RSWebApp\bin”中缺少 ReportPVMConfiguration.xml。

我在“C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\ReportServer\bin”中找到它,然后将其复制过来。它存储数据签名、数据加密和报告服务证书指纹,因此如果没有该文件,任何帐户都无法针对门户应用进行身份验证。


推荐阅读