In VS2010 Beta 2, the Web Report Viewer does not display the content of the report, whether I use Local or Remote mode.
It only display the following "disabled" bar [image]
The report I created works fine in the Report Server.
Here is the code for displaying the report:
ReportViewer1.ProcessingMode = ProcessingMode.Remote;
ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://localhost/reportserver");
ReportViewer1.ServerReport.ReportPath = "/MyReports/Report1";
ReportViewer1.ServerReport.Refresh();
Or
ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Local;
ReportViewer1.LocalReport.ReportPath = Server.MapPath("Report1.rdlc");
ReportViewer1.LocalReport.DataSources.Add(new ReportDataSource("DataSet1", myDataSet);
ReportViewer1.LocalReport.Refresh();
And I've already added the ScriptManager to the webpage, and the corresponding handlers entries in the web.config (both in system.web and system.webServer section).
The same code works fine in VS2008.
Anyone encountered the same issue?
Thanks