【问题标题】:What has .Render() on SSRS2000 WebService been replaced with on SSRS2008?SSRS2000 WebService 上的 .Render() 在 SSRS2008 上被什么替换了?
【发布时间】:2009-05-14 23:33:23
【问题描述】:

我们最近将一台 SSRS2005 服务器升级到 SSRS2008,发现我们所有使用报告服务 Web 服务生成报告的应用程序都不再工作。

第一个问题是 Web 服务本身在 ReportService.asmx 中不再可用,并且已被替换为:ReportService2005.asmx。

我们将 Web 引用更改为新位置,现在我们收到消息,即 .Render() 方法不是 ReportService2005.asmx 的一部分。 SSRS2008 中以下代码实现被替换成什么了?

report = rpt.Render(ReportPath + ReportName, this.Format.ToString(), null, devInfo.ToString(), parameters, null, null, out encoding, out mimetype, out parametersUsed, out warnings, out streamids);

编辑
在进行了更多研究后,事实证明 ReportService.asmx 是 SQL 2000 Reporting Services 的一部分,现已从 SQL 2008 Reporting Services 中弃用。

【问题讨论】:

    标签: c# reporting-services reportingservices-2005 ssrs-2008


    【解决方案1】:

    这里有几篇关于从 SSRS 2005 迁移到 SSRS 2008 的文章

    【讨论】:

      【解决方案2】:

      ReportService.asmx 已弃用。它已被替换为:

      • ReportService2005.asmx - 管理端点
      • ReportExecution2005.asmx - 执行端点

      还有一个 SharePoint 代理端点。这里有一篇文章列举了 Report Server Web Service Endpoints 2008 年。

      【讨论】:

        【解决方案3】:

        如您所述,由于 ReportService.asmx 已被删除,因此您应该使用 ReportExecution2005.asmx,然后根据代码中的要求更改报告参数。

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 2015-02-28
          • 2020-05-27
          • 1970-01-01
          • 1970-01-01
          • 2022-12-03
          • 2017-07-20
          • 2021-03-07
          • 2020-05-10
          相关资源
          最近更新 更多