Load RDL 2005 with asp.net
I load RDL (Reporting Services 2005) file in asp.net with this code
ReportViewer1.Reset();
ReportViewer1.Visible = true;
ReportViewer1.ProcessingMode = ProcessingMode.Local;
ReportViewer1.LocalReport.EnableExternalImages = true;
ReportViewer1.LocalReport.EnableHyperlinks = true;
ReportViewer1.LocalReport.DataSources.Add(new ReportDataSource("[Data Source Name]"));
ReportViewer1.LocalReport.ReportPath = @"[RDL PATH]";
ReportParameterInfoCollection rpmInfo = ReportViewer1.LocalReport.GetParameters();
ReportViewer1.LocalReport.Refresh();
but when i run this code , fire Error:
error has occurred during report processing
Thanks in Advanced
November 30th, 2010 2:24am
Hello,
Did you try to run the report from Report Manager to see there is no error in report or in report query?
Thanks
Salman
http://muhammadsalmanx.wordpress.com
Free Windows Admin Tool Kit Click here and download it now
November 30th, 2010 5:38am
Hi muhammadsalmanx ,
I Run report in Report Manager and I didn't get error and show my data correctly.
thanks
December 1st, 2010 12:27am