0

我目前有一个 srs 报告,其 url 看起来像 http://localhost/Report_SqlExpress/Pages/Report.aspx?ItemPath=/personnel_report 我尝试使用报告查看器控件通过执行以下操作来显示此报告

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

但我不断收到错误

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

请求失败,HTTP 状态为 404:未找到。

有谁知道我该如何解决这个问题?

谢谢

4

1 回答 1

1

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

于 2009-04-28T17:22:39.757 回答