Connection erorr while displaying report

Stimulsoft Reports.WEB discussion
Post Reply
m.naqash
Posts: 5
Joined: Sun Aug 26, 2012 7:22 am

Connection erorr while displaying report

Post by m.naqash »

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:

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();

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
Attachments
Erorr message.png
Erorr message.png (92.44 KiB) Viewed 923 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Connection erorr while displaying report

Post by Alex K. »

Hello,

Can you please sens us a sample project which reproduces the issue for analysis.

Thank you.
Post Reply