C# – What has .Render() on SSRS2000 WebService been replaced with on SSRS2008

creporting-servicesreportingservices-2005ssrs-2008

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.

Best Answer

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