Reporting services SSRS中的应用错误

Reporting services SSRS中的应用错误,reporting-services,ssrs-2008-r2,Reporting Services,Ssrs 2008 R2,浏览器中的“报告”页返回以下错误。它在VisualStudio2008中运行良好。错误并不总是返回,有时有效,有时失败并返回以下错误。我不明白原因。请帮我解决这个问题 注意:当我尝试将报表导出到Excel或任何其他格式时,不会发生此错误,而是在运行报表文件夹所在的主页时返回 Server Error in '/Reports' Application. Runtime Error Description: An application error occurred on t

浏览器中的“报告”页返回以下错误。它在VisualStudio2008中运行良好。错误并不总是返回,有时有效,有时失败并返回以下错误。我不明白原因。请帮我解决这个问题

注意:当我尝试将报表导出到Excel或任何其他格式时,不会发生此错误,而是在运行报表文件夹所在的主页时返回

 Server Error in '/Reports' Application.

    Runtime Error 
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. 

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

    <!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>


    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.



<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>
“/Reports”应用程序中出现服务器错误。 运行时错误 描述:服务器上发生应用程序错误。此应用程序的当前自定义错误设置阻止远程查看应用程序错误的详细信息(出于安全原因)。但是,本地服务器上运行的浏览器可以查看它。 详细信息:要在远程计算机上查看此特定错误消息的详细信息,请在位于当前web应用程序根目录中的“web.config”配置文件中创建一个标记。然后,该标记的“mode”属性应设置为“Off”。 注意:通过修改应用程序配置标记的“defaultRedirect”属性以指向自定义错误页URL,可以将当前看到的错误页替换为自定义错误页。
答案将在日志中

假设reporting services安装在默认位置

C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\LogFiles

My guess-数据源。

您可以登录报表服务器并在本地执行它吗?它将显示实际错误。@SébastienSevrin,很抱歉这个愚蠢的问题,但我如何才能登录到报表服务器?你这是什么意思?你能详细解释一下这部分吗?ThanksI的意思是打开到报告所在服务器的RDP连接,然后通过URL
http://localhost/reports
您可以尝试的另一件事是检查SSRS日志以了解更详细的错误。如果你不确定你的软件版本在哪里,谷歌“SSRS日志位置”。