Connection erorr while displaying report
Posted: Mon Mar 25, 2013 12:19 pm
Hello all
i created web application showing reports, when the user click on the report name and insert the parameters of this report, I send the connection string to the report from web.config as following:
the hole page in my web application running properly and many pages in my web application using the connection string, but when I try to display the report the following error in the attached image appear.
Iam using Stimulsoft Web 2012.3
Please help
Thank you
i created web application showing reports, when the user click on the report name and insert the parameters of this report, I send the connection string to the report from web.config as following:
Code: Select all
StiReport report = new StiReport();
report.LoadFromString(a);
report.Dictionary.Databases.Clear();
report.Dictionary.Databases.Add(new Stimulsoft.Report.Dictionary.StiSqlDatabase("Connection", General.ConnString));
report.GetSubReport += new StiGetSubReportEventHandler(rep_GetSubReport);
report.Compile();
Iam using Stimulsoft Web 2012.3
Please help
Thank you