2015-05-18 15 views
0

瀏覽器中的報告頁面返回以下錯誤。它在Visual Studio 2008中工作良好。錯誤不總是返回,有時會起作用,有時會失敗並返回以下錯誤。不明白原因。請幫助解決這個問題。發生SSRS中的應用程序錯誤

PSThis錯誤不是當我嘗試報表導出到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> 
+0

您可以登錄報告服務器並在本地執行它嗎?它會顯示實際的錯誤。 –

+0

@SébastienSevrin,對不起愚蠢的問題,但我怎樣才能登錄報告服務器?你是什​​麼意思?你能詳細解釋這部分嗎?謝謝 – Sher

+2

我的意思是打開一個RDP連接到託管報告的服務器,然後通過URL「http:// localhost/reports」訪問報告。 –

回答

0

答案將在日誌...

假設報告服務安裝在默認位置...

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

我的猜測 - 數據源。