【问题标题】:Error Retrieving Large Report from SSRS从 SSRS 检索大型报告时出错
【发布时间】:2011-11-07 17:20:26
【问题描述】:

我有一个 SSRS 报告,我正试图通过 .NET 网络服务将其加载到 ReportViewer 控件中,如下所示:

    // CR8720 DT 10/20/10 10 VVVIMP: The report is dynmically created w/o using the RDL file.
    MemoryStream ms = HtmlStatement.GetReport(uxStatementText.Text, uxStatementName.Text, uxStatementCode.Text);
    uxReportViewer.ServerReport.LoadReportDefinition(ms);

可以使用我的 ASP.NET 页面上的搜索条件过滤此报告,或者可以将条件留空并返回整个报告。问题是,当搜索条件留空时,我收到此错误消息,并且没有返回任何报告:“报告定义无效。详细信息:名称空间'http://schemas.microsoft 中的元素'段落'。 com/sqlserver/reporting/2008/01/reportdefinition' 的内容不完整。预期的可能元素列表:命名空间“http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition”中的“段落”。( rsInvalidReportDefinition)”。如果我过滤它,报告工作正常,所以我认为它可能太大而无法返回 web 服务,并且它的一部分被截断(因此出现错误消息)。那是对的吗?如果是这样,我将如何解决这个问题?

【问题讨论】:

    标签: c# asp.net web-services reporting-services


    【解决方案1】:

    尝试增加httpRuntimeReport Execution Timeout

    <system.web>
      <httpRuntime executionTimeout = "10800" />
    </system.web>
    

    参考:

    Manage timeouts in the Reporting Services 2005

    【讨论】:

    • 我相信你是正确的,在某种程度上......我的用户终于收到了一条信息更丰富的错误消息:消息:请求通道在 00 之后等待回复时超时: 10:00。增加传递给 Request 调用的超时值或增加 Binding 上的 SendTimeout 值。分配给此操作的时间可能是较长超时的一部分。谢谢!
    猜你喜欢
    • 2013-01-30
    • 1970-01-01
    • 1970-01-01
    • 2013-06-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-11-30
    • 1970-01-01
    相关资源
    最近更新 更多