Click here to Skip to main content
14,970,345 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
We have create .RDL file using 'Report Server Project' using 'Visual Studio 2008'. We are using SQL Server 2008. We have deployed this .RDL file on reporting server from there we need to access it using 'ReportViewer' in VS2010. We have set below 3 properties to access it:-
C#
repViewer.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;
repViewer.ServerReport.ReportServerUrl = new Uri(@"http://servername/ReportServer");
repViewer.ServerReport.ReportPath = @"/TestSSASReports/testSSASReport";
repViewer.ServerReport.Refresh();


We are getting below error message:-
CSS
The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.
The request failed with HTTP status 404: Not Found.


We found that there is problem with Integration of .rdl of SQL server 2008 with VS2010.

Is there any alternative solution for it or is there any code issue?
Posted

1 solution

VB
We created same Virtual directory for "Report Manager URL" and the "Report Server Url". And that conflict raises the error. 

Therefore we create different-different Virtual directory for both of it and use "Report Server Url" path in the code. This resolved the issue
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900