在SSRS2008中,.Render()在SSRS2000 WebService上的替代品是什么?

6
我们最近将SSRS2005服务器升级到了SSRS2008,发现所有使用报表服务Web服务生成报表的应用程序都无法正常工作。
首先,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个回答

3

2

ReportService.asmx已经过时,它已被以下内容替代:

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

还有一个SharePoint代理端点。以下是一篇文章列出了2008年报告服务器Web服务端点


1

由于ReportService.asmx已被移除,正如您所指出的那样,您应该使用ReportExecution2005.asmx,然后根据您的代码要求更改报告参数。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接