SSRS 报表服务器 - HTTP 错误 503。服务不可用

问题描述 投票:0回答:1

在我工作的公司,我们使用 SSRS 报表服务器来发布财务报告等。它总是工作得很好,但几天前,运行报表服务器的服务器由于安全更新而重新启动。从那时起,报表服务器就不再工作了。

访问 URL 时,收到错误消息“HTTP 错误 503。服务不可用。” 我检查了服务器上的日志,发现以下错误消息:

RSHostingService.log

INFO|4|Launching Process : Management Service
INFO|4|Starting Process: C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\Management\RSManagement.exe
WARN|12|Child Process [Management Service] Died. Check the log for further information
INFO|12|Immediate restart of process Management Service

RS管理.log

ERROR|1|Unhandled exception in Appdomain System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.HttpListenerException: The process cannot access the file because it is being used by another process
at System.Net.HttpListener.AddAllPrefixes()
at System.Net.HttpListener.Start()
at Microsoft.Owin.Host.HttpListener.OwinHttpListener.Start(HttpListener listener, Func2 appFunc, IList1 addresses, IDictionary2 capabilities, Func2 loggerFactory)
at Microsoft.Owin.Host.HttpListener.OwinServerFactory.Create(Func2 app, IDictionary2 properties)
End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Owin.Hosting.ServerFactory.ServerFactoryAdapter.Create(IAppBuilder builder)
at Microsoft.Owin.Hosting.Engine.HostingEngine.Start(StartContext context)
at Microsoft.BIServer.Management.WebHost.Program.Main(), Exception RSManagement.exe: 
ERROR|1|Report server dump occurred: System.Reflection.TargetInvocationException at 
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Owin.Hosting.ServerFactory.ServerFactoryAdapter.Create(IAppBuilder builder)
at Microsoft.Owin.Hosting.Engine.HostingEngine.Start(StartContext context)
at Microsoft.BIServer.Management.WebHost.Program.Main()

事件日志1:

Application: RSManagement.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.HttpListenerException
   at System.Net.HttpListener.AddAllPrefixes()
   at System.Net.HttpListener.Start()
   at Microsoft.Owin.Host.HttpListener.OwinHttpListener.Start(System.Net.HttpListener, System.Func2<System.Collections.Generic.IDictionary2<System.String,System.Object>,System.Threading.Tasks.Task>, System.Collections.Generic.IList1<System.Collections.Generic.IDictionary2<System.String,System.Object>>, System.Collections.Generic.IDictionary2<System.String,System.Object>, System.Func2<System.String,System.Func`6<System.Diagnostics.TraceEventType,Int32,System.Object,System.Exception,System.Func3<System.Object,System.Exception,System.String>,Boolean>>)
   at Microsoft.Owin.Host.HttpListener.OwinServerFactory.Create(System.Func2<System.Collections.Generic.IDictionary2<System.String,System.Object>,System.Threading.Tasks.Task>, System.Collections.Generic.IDictionary`2<System.String,System.Object>)
Exception Info: System.Reflection.TargetInvocationException
   at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
   at System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
   at Microsoft.Owin.Hosting.ServerFactory.ServerFactoryAdapter.Create(Owin.IAppBuilder)
   at Microsoft.Owin.Hosting.Engine.HostingEngine.Start(Microsoft.Owin.Hosting.Engine.StartContext)
   at Microsoft.BIServer.Management.WebHost.Program.Main()

事件日志2:

Faulting application name: RSManagement.exe, version: 15.0.1102.1002, time stamp: 0x63055c58
Faulting module name: KERNELBASE.dll, version: 10.0.17763.3887, time stamp: 0x3e07c6b6
Exception code: 0xe0434352
Fault offset: 0x00000000000349b9
Faulting process id: 0x3b94
Faulting application start time: 0x01d92b0c60e4aa6c
Faulting application path: C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\Management\RSManagement.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 4b258278-3fbe-4e6c-bbc5-333482c6ba63
Faulting package full name: 
Faulting package-relative application ID: 

我注意到的另一件事是,当我尝试使用报表服务器配置工具时,加载需要很长时间。当报表服务器工作正常时,情况也并非如此。

我多次尝试重新启动报告服务器服务,但这并没有改变任何东西。 由于错误消息中提到了 RSManagement 服务,因此我尝试自己执行 RSManagement.exe。这创建了以下日志文件:

    INFO|1|File Logger created: C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\Management\RSManagement_2023_01_18_08_20_54.log - level Info, will roll at 32 Mb, process id 14868
INFO|1|No flag is configured for the Dumper. Using Default settings.
INFO|1|Do not dump on: 
ERROR|1|Unhandled exception in Appdomain System.Collections.Generic.KeyNotFoundException: Missing Configuration [listenerUrl]
   at Microsoft.BIServer.HostingEnvironment.StaticConfig.GetOrException(String key)
   at Microsoft.BIServer.Management.WebHost.Program.Main(), Exception RSManagement.exe: 
ERROR|1|Exception thrown while reading configuration: System.Collections.Generic.KeyNotFoundException: Missing Configuration [rsConfigFilePath]
   at Microsoft.BIServer.HostingEnvironment.StaticConfig.GetOrException(String key)
   at Microsoft.BIServer.Configuration.ConfigReader.get_Current()System.Collections.Generic.KeyNotFoundException: Missing Configuration [rsConfigFilePath]
   at Microsoft.BIServer.HostingEnvironment.StaticConfig.GetOrException(String key)
   at Microsoft.BIServer.Configuration.ConfigReader.get_Current()
INFO|1|Logger shutting down

最后我尝试完全卸载SSRS并重新安装。重新安装后,错误信息还是一样。我假设有一些外部配置可能会干扰报表服务器? 我还使用在同一服务器上运行的 Power BI 报表服务器,这令人惊讶地工作。我还认为 PBI 报告服务器可能会导致冲突,但我不确定。

http reporting-services report
1个回答
0
投票

我也有同样的症状,实际错误是许可证错误。

我使用的是评估版,它已经过期了

© www.soinside.com 2019 - 2024. All rights reserved.