【问题标题】:ReportViewer 11 Showing error messageReportViewer 11 显示错误信息
【发布时间】:2014-02-24 11:27:30
【问题描述】:

我正在使用 Reporting Services 生成报告。我最近将 ReportViewer 控件从版本 9 升级到版本 11。我遇到的问题是在版本 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)
 at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ValidateConnection()
 at Microsoft.Reporting.WebForms.SoapReportExecutionService.GetServerVersion()
 at Microsoft.Reporting.WebForms.ServerReport.GetServerVersion()
 at Microsoft.Reporting.WebForms.PrintCabOperation.CreateUrl(ReportControlSession reportControlSession, ClientArchitecture clientArch, String instanceID)
 at Microsoft.Reporting.WebForms.ClientPrintInfo..ctor(ReportViewer viewer)
 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。

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

【问题讨论】:

    标签: service reporting-services ssrs-2008 reporting reportviewer


    【解决方案1】:

    这里有一篇专门讨论这个问题的帖子:The attempt to connect to the report server failed

    【讨论】:

    • 干杯安。我浏览了提供的链接上的解决方案,它帮助我纠正了一些连接问题。此外,对于其他有此问题的人,ReportViewer 11 在属性中设置了一个默认服务 url。因此,如果您从后面的代码中设置服务 url,请确保首先设置它,即 onInit。再次感谢安。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-07-25
    • 2013-08-20
    • 2019-02-03
    • 1970-01-01
    • 1970-01-01
    • 2011-08-06
    • 1970-01-01
    相关资源
    最近更新 更多