What has .Render() on SSRS2000 WebService been replaced with on SSRS2008?
Asked Answered
F

3

6

We've recently upgraded one of our SSRS2005 servers to SSRS2008 and have found that all of our applications that utilized the reporting services web service for producing reports no longer works.

The first issue is that the web service itself was no longer available at ReportService.asmx, and had been replaced by: ReportService2005.asmx.

We changed our web reference to the new location and we are now getting the message that the .Render() method is not a part of ReportService2005.asmx. What has the following code implementation been replaced with in 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);

EDIT
After doing some more research, it turns out that the ReportService.asmx was part of SQL 2000 Reporting Services which has now been deprecated out of SQL 2008 Reporting Services.

Factorage answered 14/5, 2009 at 23:33 Comment(0)
A
1

Since ReportService.asmx was removed, as you note, you should use ReportExecution2005.asmx and then change the report parameters as required in your code.

Alumina answered 15/5, 2009 at 18:15 Comment(0)
K
3

Here are a couple of articles on migrating from SSRS 2005 to SSRS 2008

Kaylil answered 14/5, 2009 at 23:43 Comment(0)
F
2

ReportService.asmx is deprecated. It has been replaced with:

  • ReportService2005.asmx - the management endpoint
  • ReportExecution2005.asmx - the execution endpoint

There is also a SharePoint proxy endpoint. Here's an article enumerating the Report Server Web Service Endpoints for 2008.

Florilegium answered 21/4, 2010 at 16:53 Comment(0)
A
1

Since ReportService.asmx was removed, as you note, you should use ReportExecution2005.asmx and then change the report parameters as required in your code.

Alumina answered 15/5, 2009 at 18:15 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.