尝试使用时出现此错误ReportingService2010:
Unable to resolve symbol 'ExecutionInfo'
ExecutionInfo并ExecutionHeader在ReportingService2005. 我正在使用 Visual Studio 2010、VB.Net 和ReportingServices2010. 我可以连接到服务器并执行诸如rs.ListChildren.
有任何想法吗?
尝试使用时出现此错误ReportingService2010:
Unable to resolve symbol 'ExecutionInfo'
ExecutionInfo并ExecutionHeader在ReportingService2005. 我正在使用 Visual Studio 2010、VB.Net 和ReportingServices2010. 我可以连接到服务器并执行诸如rs.ListChildren.
有任何想法吗?
我找到了我的问题的答案。希望这对其他人有帮助。
报表服务器 Web 服务中有两种主要类型的端点,一种用于管理,一种用于执行。
管理端点为:ReportService2005、ReportService2006、ReportService2010 执行端点为:ReportExecution2005
因此,您可以从 ReportService2010 中获取报告名称、路径、数据集等,但要执行报告,您必须使用 ReportService2005。
所以这里是你如何做到的:
http://<your server>/reportserver/ReportExecution2005.asmx不是这个:http://<your server>/reportserver/ReportExecution2010.asmxDim rs As New ReportExecutionService.即 2005 执行服务,具有 ExecutionInfo 和 ExecutionHeader 方法。