Hi I have created my report with the stand alone report designer. When I preview it in the report designer it works just fine. But when I try and load it on an aspx page I get errors on the page (See attached ) where ever I have a SQL connection. Is the connection string in the trdx file? Or am I supposed to define that someplace else?
Thanks
Telerik.Reporting.UriReportSource uriReportSource =
new
Telerik.Reporting.UriReportSource();
string
reportpath = System.Web.HttpContext.Current.Server.MapPath(
"~"
) +
"/trdx/EAM_Report.trdx"
;
uriReportSource.Uri = reportpath;
ReportViewer1.ReportSource = uriReportSource;
Thanks