Reputation: 969
Hi, I am having problem while connecting to ssrs report. My report is running successfully on the server and i am attaching screen shot of the report also. Client Code:
ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;
ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://nysa31:8080/Reports_MS2008");
ReportViewer1.ServerReport.ReportPath = "~/New Item";
ReportParameter[] Params = new ReportParameter[1];
Params[0] = new ReportParameter("EmployeeID", "990");
ReportViewer1.ServerReport.SetParameters(Params);
ReportViewer1.ServerReport.Refresh();
I am getting this error. The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.]
Upvotes: 0
Views: 4797
Reputation: 143
use
http://Nysa31:8080/Reports_MS2008
instead of
http://nysa31:8080/Reports_MS2008
and folder names must starts with Uppercase letter.
because \n and \r are new line charectors. path name mayn't work .
Upvotes: 0
Reputation: 11
The Report Server URL you have set seems to be the Report Manager URL. Enter the Report Server URL to resolve the issue.
Upvotes: 1
Reputation: 33857
You may want to have a bit of a read about accessing SSRS via windows auth, e.g.:
http://praveenbattula.blogspot.com/2010/01/report-viewer-control-authentication.html
Upvotes: 0