2

当我尝试访问报表服务器(或打开报表)时,出现以下错误,

An internal error occurred on the report server. 
See the error log for more details. (rsInternalError)
For more information about this error navigate to the report server 
on the local server machine, or enable remote errors

当我检查服务器时,“SQL Server (MSSQLSERVER)”和“SQL Server Reporting Services (MSSQLSERVER)”服务都在运行。

无法找出任何问题,我已经重新启动了这两个服务。然后报告开始工作。实际上重新启动SSRS服务似乎就足够了。几个小时后,这个问题再次发生,我重新启动了这两个服务,它又开始工作了。

我们正在使用 SQL Server 2008 R2

报告服务器日志文件,堆栈跟踪

   --- End of inner exception stack trace ---
library!ReportServer_0-3!1e54!11/12/2013-17:38:06:: e ERROR: Throwing Microsoft.ReportingServices.Library.ReportServerDatabaseUnavailableException: , Microsoft.ReportingServices.Library.ReportServerDatabaseUnavailableException: The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. ---> System.IO.FileLoadException: Could not load file or assembly 'Microsoft.ReportingServices.UpgradeScripts, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. Access is denied.
File name: 'Microsoft.ReportingServices.UpgradeScripts, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
   at Microsoft.ReportingServices.Library.ConnectionManager.get_ReportingServicesVersionNumber()
   at Microsoft.ReportingServices.Library.ConnectionManager.IsUpToDateDatabaseVersion(String storedDBVersion)
   at Microsoft.ReportingServices.Library.ConnectionManager.EnsureCorrectDBVersion()
   at Microsoft.ReportingServices.Library.ConnectionManager.ConnectStorage()
   at Microsoft.ReportingServices.Library.RunningJobsDb.GetMyRunningJobs()

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].

   --- End of inner exception stack trace ---;

可能是什么问题?

4

4 回答 4

0

另一种可能的解决方法。

在您的 ReportServer web.config 文件中进行以下更改

<identity impersonate="false" />

            To

<identity impersonate="true" />
于 2014-04-10T20:43:36.427 回答
0

有一个未决的 Windows 更新。我已重新启动服务器以安装更新。之后问题没有出现。似乎它与Windows更新过程有关。

于 2013-11-13T02:22:36.377 回答
0

也可能是 Reporting Services 数据库已关闭。

您是否不小心分离了您认为是旧的或临时的数据库,但结果却是 SQL Server 环境的一部分?

检查 ReportSever 和 ReportSeverTempDB 是否都附加在 SQL Server 中并且正在运行。

于 2014-02-24T04:57:40.100 回答
-1

我面临同样的情况,对我来说只是重新启动 SQL 报告服务。

于 2019-01-10T06:20:14.163 回答