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.Visible = true;
ReportViewer1.ProcessingMode = ProcessingMode.Remote;
ReportViewer1.ServerReport.ReportServerUrl = new Uri(strReportPath);
ReportViewer1.ServerReport.ReportPath = "MgrTeamAttendanceReportAllFilter";
ReportParameter param1 = new ReportParameter("EmpId", MGR.EmpId.ToString());
this.ReportViewer1.ServerReport.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".