我在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正常运行
答案 0 :(得分:0)
“ 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”中找到它,然后将其复制了过来。它会存储数据签名,数据加密和报告服务证书指纹,因此,如果没有文件,任何帐户都无法通过门户应用程序进行身份验证。