2009-04-28 78 views
0

我目前有其中有一個URL,看起來像 http://localhost/Report_SqlExpress/Pages/Report.aspx?ItemPath=/personnel_report 我試着使用報表查看器控件來顯示此報告通過執行以下操作Asp.net報告查看器SRS設置

<rsweb:ReportViewer ID="ReportViewer1" runat="server" ProcessingMode="Remote" 
           Font-Names="Verdana" Font-Size="8pt" Height="400px" Width="400px" > 
           <ServerReport 
           ReportServerUrl="http://localhost/Report_SqlExpress" ReportPath="personnel_report" /> 

          </rsweb:ReportViewer> 

SRS的報告但我不斷收到錯誤

The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version. 

請求失敗,HTTP狀態404:未找到。

有誰知道我該如何解決這個問題?

謝謝

回答

1

問題是我的報告路徑在它之前需要一個斜槓。 傻我。