I'm working with an ASP.Net page which displays reports from a remote SSRS server using the ReportViewer control. It was working without problems until we deployed a new report which doesn't require/accept any parameters. When rendering these reports, the first page of the report would render fine but when you switch to another page (using the controls from ReportViewer) you get an error saying, "One or more data sources is missing credentials".
This is how the ReportViewer is being configured...
this.Report.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;
this.Report.ServerReport.ReportServerUrl = new Uri(App.Config.ReportServerPath);
this.Report.ServerReport.ReportPath = this.ReportPath;
this.SetRerportParameterValues(); // This does nothing since the report doesn't have any parameters
this.Report.AsyncRendering = false;
If I change the AsyncRendering to true, the error will be displayed when rendering the first page of the report.
When rendering a report, which doesn't have any parameters, is there something different I have to do with the parameters?