Hi Experts.
I have created a localReort (.rdlc) in my asp .net application. and bind it with my custom ado DataSet. using following code.
ReportViewer1.ProcessingMode = ProcessingMode.Local;
ReportViewer1.LocalReport.EnableExternalImages = false;
ReportViewer1.LocalReport.EnableHyperlinks = false;
ReportViewer1.Visible = true;
ReportViewer1.ShowBackButton = true;
ReportViewer1.ShowDocumentMapButton = true;
ReportViewer1.ShowExportControls = true;
ReportViewer1.ShowFindControls = true;
ReportViewer1.ShowParameterPrompts = false;
ReportViewer1.ShowReportBody = true;
ReportViewer1.SizeToReportContent = true;
ReportViewer1.ShowToolBar = true;
ReportViewer1.ShowZoomControl = true;
ReportViewer1.DocumentMapCollapsed = true;
this.ReportViewer1.LocalReport.ReportPath = Server.MapPath("Report1.rdlc");
this.ReportViewer1.LocalReport.DataSources.Clear();
ReportDataSource _rds = new ReportDataSource("DataSet1", _ds.Tables[0]);
this.ReportViewer1.LocalReport.DataSources.Add(_rds);
this.ReportViewer1.LocalReport.Refresh();
As I hit F5 report works fine. When I publish website on iis, Report viewer shows blank. and no data showed there. and even no exception is thrown.
Can any one help me. This is urgent.