Hi,
Thank you for your reply.
I am getting the following error while trying to access SQL reporting services from C#.NET application:
Client found response content type of '', but expected 'text/xml'.
The request failed with an empty response.
Below is the code where I am getting the above error:
ReportViewer1.V isible = true;
ReportViewer1.P rocessingMode = ProcessingMode. Remote;
ReportViewer1.S erverReport.Rep ortServerUrl = new Uri(strReportPa th);
ReportViewer1.S erverReport.Rep ortPath = "MgrTeamAttenda nceReportAllFil ter";
ReportParameter param1 = new ReportParameter ("EmpId", MGR.EmpId.ToStr ing());
this.ReportView er1.ServerRepor t.SetParameters (new ReportParameter[] { param1 });
I need your help for solving this issue.
Thank you!
Well have you looked to see what its responding with? The error makes it look like it's not sending back anything. And you expect a content type header with "text/xml".