0

我有一種情況,我的Microsoft SSRS 2012報表服務器工作正常,但不是報表管理器,其中 引發HTTP 500錯誤(網站無法顯示頁面)。Microsoft SSRS 2012報表管理器 - HTTP 500錯誤(網站無法顯示頁面),而報表服務器正常

SSRS 2012報表管理器和報表服務器工作正常,直到昨天,當我成功安裝了帶有SSRS的SQL Server 2016時 ; SSRS 2016報表服務器和報表管理器都很好;我的 SSRS 2008R2報表服務器和報表管理器也是如此。 (我有兩個SSRS 2008R2和SSRS 2012做工精細 剛剛成功安裝SSRS 2016年之前,現在2012 SSRS的報告管理部分 不工作,其他保持不變)

我認爲SQL Server 2012的安裝爲幾乎是一年前的默認實例。從SSRS 2012報表服務配置管理


詳情:

服務帳戶:使用內置帳戶(的ReportServer $ SQL2012DEV)從SSRS 2016 SSRS 2008 R2 Reporting Services配置


詳細經理:

服務帳號:使用內置帳號(網絡服務)


我有Reporting Services配置管理器的屏幕快照。 enter image description here

下面是從SQL Server配置管理器截圖:enter image description here

這是從事件查看器,Windows登錄應用程序採取:來源ASP.NET 2.0.50727.0

Failed to initialize the AppDomain:ReportManager_SQL2012DEV_0 
 

 
Exception: System.Web.HttpException 
 

 
Message: Could not load file or assembly 'Microsoft.ReportingServices.SharePoint.ObjectModel, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) 
 

 
StackTrace: at System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() 
 
    at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() 
 
    at System.Web.Compilation.BuildManager.CallAppInitializeMethod() 
 
    at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) 
 
    at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) 
 
    at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters) 
 
    at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters) 
 

 
InnerException: System.Configuration.ConfigurationErrorsException 
 

 
Message: Could not load file or assembly 'Microsoft.ReportingServices.SharePoint.ObjectModel, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) 
 

 
StackTrace: at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) 
 
    at System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() 
 
    at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) 
 
    at System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() 
 
    at System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) 
 
    at System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) 
 
    at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) 
 
    at System.Web.Compilation.BuildManager.CompileGlobalAsax() 
 
    at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() 
 

 
InnerException: System.IO.FileLoadException 
 

 
Message: Could not load file or assembly 'Microsoft.ReportingServices.SharePoint.ObjectModel, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) 
 

 
StackTrace: at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) 
 
    at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) 
 
    at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) 
 
    at System.Reflection.Assembly.Load(String assemblyString) 
 
    at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) 
 

 
InnerException: System.IO.FileLoadException 
 

 
Message: Could not load file or assembly 'Microsoft.ReportingServices.SharePoint.ObjectModel' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) 
 

 
StackTrace:

這取自SSRS日誌:C:\ Program Files \ Microsoft SQL Server \ MSRS11.SQL2012DEV \ Reporting Services \ LogFil ES \ ReportingServerService.txt

WRN: Assembly binding logging is turned OFF. 
 
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. 
 
Note: There is some performance penalty associated with assembly bind failure logging. 
 
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. 
 

 
    at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) 
 
    at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) 
 
    at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) 
 
    at System.Reflection.Assembly.Load(String assemblyString) 
 
    at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) 
 

 

 
    --- End of inner exception stack trace --- 
 
    at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) 
 
    at System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() 
 
    at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) 
 
    at System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() 
 
    at System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) 
 
    at System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) 
 
    at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) 
 
    at System.Web.Compilation.BuildManager.CompileGlobalAsax() 
 
    at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() 
 
    --- End of inner exception stack trace --- 
 
    at System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() 
 
    at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() 
 
    at System.Web.Compilation.BuildManager.CallAppInitializeMethod() 
 
    at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) 
 
    at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) 
 
    at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters) 
 
    at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters) 
 
    at System.Web.Hosting.ApplicationManager.GetAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters) 
 
    at System.Web.Hosting.ApplicationManager.CreateObjectInternal(String appId, Type type, IApplicationHost appHost, Boolean failIfExists, HostingEnvironmentParameters hostingParameters) 
 
    at System.Web.Hosting.ApplicationManager.CreateObject(String appId, Type type, String virtualPath, String physicalPath, Boolean failIfExists, Boolean throwOnError) 
 
    at ReportingServicesHttpRuntime.RsHttpRuntime.Create(RsAppDomainType type, String vdir, String pdir, Int32& domainId) 
 
    --- End of inner exception stack trace ---; 
 
appdomainmanager!ReportManager_0-29!3c3c!03/09/2017-14:41:13:: i INFO: Appdomain:31 ReportManager_SQL2012DEV_0-29-131335242724582365 unloading 
 
library!DefaultDomain!3c3c!03/09/2017-14:41:13:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerAppDomainManagerException: Failed to create Report Server HTTP Runtime, Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerAppDomainManagerException: An error occurred when attempting to start the application domain ReportManager within the Report Server service. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: An internal or system error occurred in the HTTP Runtime object for application domain ReportManager_SQL2012DEV_0. ---> System.Web.HttpException: Could not load file or assembly 'Microsoft.ReportingServices.SharePoint.ObjectModel, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---> System.Configuration.ConfigurationErrorsException: Could not load file or assembly 'Microsoft.ReportingServices.SharePoint.ObjectModel, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---> System.IO.FileLoadException: Could not load file or assembly 'Microsoft.ReportingServices.SharePoint.ObjectModel, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---> System.IO.FileLoadException: Could not load file or assembly 'Microsoft.ReportingServices.SharePoint.ObjectModel' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) 
 
    --- End of inner exception stack trace ---; 
 
rshost!rshost!3c3c!03/09/2017-14:41:13:: e ERROR: Failed to create HttpRuntime 80131500. 
 
rshost!rshost!3c3c!03/09/2017-14:41:13:: e ERROR: Failed to get appdomain 80131500, pipeline=0x00000002781A5990. 
 
rshost!rshost!3c3c!03/09/2017-14:41:13:: e ERROR: Error state. Internal abort for pipeline=0x00000002781A5990 ... 
 
appdomainmanager!DefaultDomain!3240!03/09/2017-14:41:19:: i INFO: Appdomain:31 ReportManager_SQL2012DEV_0-29-131335242724582365 unregistered. 
 
rshost!rshost!3240!03/09/2017-14:41:19:: i INFO: Application domain type ReportManager statistics: created: 27, unloaded: 27, failed: 0, timed out: 0.

+0

有什麼建議嗎?我還沒有聽到你們任何人在過去3天內的任何事情。我需要儘快把它整理出來;我的SSRS 2012報表服務器仍在工作,並且正在暫時使用它向我們的客戶展示報表;但我需要讓SSRS 2012報表管理器最終工作。 – user3812887

回答

0

我正面臨着類似的問題時,SSRS的多個版本安裝在相同的環境。在我的系統中,我安裝了SQL 2012,SQL 2014 & SQL 2016,包括SSRS和其他共享功能。

SSRS 2012實例不包含任何SharePoint組件。但是,似乎SSRS 2012的報告管理器是從另一個實例引用它們的。在檢查在C:\ Program Files \ Microsoft SQL Server \\ Reporting Services \ LogFiles生成的日誌文件時,我開始瞭解它。

解決方案:

我已經驗證所有已安裝的SQL實例特定組件和共享組件。

我發現SQL 2012和SQL 2014實例不包含任何有關SharePoint的組件。但是,SQL 2016實例包含少數與SharePoint有關的共享組件。他們分別是「Microsoft SQL Server 2016 RS加載項for SharePoint」「Reporting Services - SharePoint」。從控制面板

在程序&特點,我卸載「的Microsoft SQL Server 2016和RS添加用於SharePoint」組件。我停止並重新啓動了2012年和2016年實例的SSRS服務。之後,SSRS 2012的報告管理器仍然無法運行。

接下來,在程序從控制面板&特點,我選擇了 「的Microsoft SQL Server 2016(64位)」,併入選卸載/更改,並選擇刪除。通過瀏覽,我進入了「選擇功能」頁面。在共享功能下,我檢查了「Reporting Services - SharePoint」並繼續刪除它。

完成後,我重新啓動了SQL 2012和2016實例的SSRS服務。之後,2012年和2016年兩個SSRS站點按預期工作。所以我的問題解決了。

我還不清楚爲什麼包含SQL 2016實例的設置或功能影響SQL 2012實例。

相關問題