views:

387

answers:

1

I deployed some SSRS reports created in Visual Studio 2008 to localhost:8080/ReportServer. ( Using VS 2008 .NET , Version 9.0.21022.8, SQL Server 2008 and XP Prof.)

Calling them in the Webbrowser works fine, but now I'm trying to use them in an ASP.NET app with ReportViewer in VS 2008 and using local ASP.NET Development Server.

Excecuting the following Code:

ReportViewer1.ProcessingMode = ProcessingMode.Remote;
IReportServerCredentials irsc = new CustomReportCredentials("xxx", "xxx", "xxx");
ReportViewer1.ServerReport.ReportServerCredentials = irsc;
ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://localhost:8080/ReportServer/ReportService2005.asmx?wsdl");
ReportViewer1.ServerReport.ReportPath = @"/AdventureWorks Sample Reports/Sales Order Detail";
ReportViewer1.ServerReport.Refresh();

results in the following exception:

"# The version of the report server web service definition (WSDL) is either not valid or unrecognized. The server is not a compatible version.
 * System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header 'SOAPAction': 
 http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/LoadReport..."

The report file .rdl contains the namespace:

xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition"

and "http://localhost:8080/ReportServer?&rs%3aCommand=ListChildren" in the Webbrowser shows the report directories and "Microsoft SQL Server Reporting Services, Version 10.0.1600.22"

The file "ReportService2005.wsdl" contains a lot of "soapAction="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/..." attributes.

So it sounds like a 2005 / 2008 incompability ? (but as mentioned: i'm using only 2008 products)

Any ideas ?

A: 

Got the same behavior, did you successfully resolved this issue ?

dc
I figured what "MY" problem was.As i was filling a TREE with existing reports, and upon selecting reporting (in the tree), i was loading the report in the Report Viewer using the same WSDL.I sucessfully filled the tree, but then upon execution of the report i was getting also the msg : "The server is not a compatible version..."My problem was that in fact Reporting Services 2008 has two endpoints, one for "SERVICE" and one for "EXECUTION".Therefore to fill the tree i use "ReportService2005.asmx?wsdl" and for execution, report viewer uses "ReportExecution2005.asmx?wsdl"Solved my prb.
dc