SSRS2000 WebService上的.Render()被SSRS2008取代了什么?

时间:2009-05-14 23:33:24

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

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

第一个问题是ReportService.asmx不再提供Web服务本身,并且已被替换为: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了。

3 个答案:

答案 0 :(得分:3)

以下是一些关于从SSRS 2005迁移到SSRS 2008的文章

答案 1 :(得分:2)

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

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

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

答案 2 :(得分:1)

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

相关问题