2009-04-28 86 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

问题是我的报告路径在它之前需要一个斜杠。 傻我。