Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am calling .rdl report from aspx page. Below is the code-:

MyReportViewer.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;
MyReportViewer.ShowCredentialPrompts = true;
MyReportViewer.ServerReport.ReportServerUrl = new Uri(@"http://ingsdfsdfgfd/Reports");
MyReportViewer.ServerReport.ReportPath = "ReportName";
MyReportViewer.ShowParameterPrompts = true;
MyReportViewer.ShowPrintButton = true;
MyReportViewer.ServerReport.Refresh();



CSS
Below is the error i get-:

The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.

Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. The request failed with the error message: -- Error - Report Manager

The permissions granted to user 'IIS APPPOOL\ASP.NET v4.0 Classic' are insufficient for performing this operation

Please Advise
Posted

1 solution

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