0

我正在使用Reporting Services生成报告。我最近升级从9版本我的ReportViewer控制版本11.我的问题是,在11版我得到一个错误消息ReportViewer 11显示错误消息

<div id="Viewer_ctl09_NonReportContent" style="height:100%;width:100%; display:none;"> <div style="font-family:Verdana;font-size:8pt;"> <!-- at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.MissingEndpointException.ThrowIfEndpointMissing(WebException e)&#13;&#10; at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ValidateConnection()&#13;&#10; at Microsoft.Reporting.WebForms.SoapReportExecutionService.GetServerVersion()&#13;&#10; at Microsoft.Reporting.WebForms.ServerReport.GetServerVersion()&#13;&#10; at Microsoft.Reporting.WebForms.PrintCabOperation.CreateUrl(ReportControlSession reportControlSession, ClientArchitecture clientArch, String instanceID)&#13;&#10; at Microsoft.Reporting.WebForms.ClientPrintInfo..ctor(ReportViewer viewer)&#13;&#10; at Microsoft.Reporting.WebForms.ReportViewer.OnPreRender(EventArgs e)--> <ul> <li style="display:inline;">The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.</li><ul> <li style="display:inline;">The request failed with HTTP status 404: Not Found.</li> </ul> </ul> </div> </div>.

这种情况发生在遥控器首次加载,报告工作时,我做了一些过滤。现在,当我将标记ProcessingMode设置为Remote时,会发生这种情况。当设置为本地我没有这个问题。我正在使用Sql Server 2005,Reporting Services 2008 R2和ReportViewer 11.

有没有人遇到过这个?请帮忙!!!

回答

0

这是一个处理这个确切问题的帖子:The attempt to connect to the report server failed

+0

Cheers Ann。我在提供的链接上查看了解决方案,它帮助我纠正了一些连接问题。对于有问题的任何人,还有一个ReportViewer 11在属性中设置的默认服务URL。所以如果你是从代码背后设置服务URL,确保你设置它的第一件事,即onInit。再次感谢Ann。 – Mbangarama