Timeout Expired

Stimulsoft Reports.NET discussion
Post Reply
mmurdock
Posts: 94
Joined: Tue Mar 20, 2007 4:59 pm

Timeout Expired

Post by mmurdock »

I'm getting the following error when running a query that takes longer then 30 seconds.

"Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."

I am using 2008.1 and I am connecting to a mySQL database using the connector from this post: http://forum.stimulsoft.com/Default.aspx?g=posts&t=1314

I am using version 5.2.1 of the mysql.net connector.

This also happens when using 2007.3 and an older version of the mysql.net connector and your previous version of the mysql connector pack.

After a bit of research I think that mysql's CommandTimeout option defaults to 30 seconds. I think that this either needs to be set to 0 for unlimited or something higher to allow for longer queries, however I think this change needs to be done in the connector pack.

Thanks,

Mat
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Timeout Expired

Post by Edward »

Hello, Mat.

Please download the new version of the MySQL DataBase pack for MySQLConnector.Net

Also here is the pack for CoreLab users too

Thank you.
Attachments
83.CoreLab.zip
(10.79 KiB) Downloaded 471 times
82.MySQLConnectorNet.zip
(12 KiB) Downloaded 426 times
mmurdock
Posts: 94
Joined: Tue Mar 20, 2007 4:59 pm

Timeout Expired

Post by mmurdock »

So I get the following error after the query runs for 30 seconds. If I set this option, StiReport1.HideExceptions = True, in my program then I get a blank page after the program runs for a while. Thanks again for helping me with this.



Image
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Timeout Expired

Post by Edward »

Hello, Mat.

Please select the DataSource then press F4 or switch to Property Editor and increase value of CommandTimeout property of the DataSources as required.

Thank you.
mmurdock
Posts: 94
Joined: Tue Mar 20, 2007 4:59 pm

Timeout Expired

Post by mmurdock »

That worked! Thanks for fixing this!!

Mat
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Timeout Expired

Post by Edward »

Hello, Mat.

Please let us know if you need any help.

Thank you.
iam
Posts: 2
Joined: Fri Jul 12, 2013 9:51 am

Re: Timeout Expired

Post by iam »

where is location datasource??
please help me.
newbie..
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Timeout Expired

Post by Alex K. »

Hello,

The data sources are located in the tab Dictionary in the property grid.

Thank you.
iam
Posts: 2
Joined: Fri Jul 12, 2013 9:51 am

Re: Timeout Expired

Post by iam »

i have resolved this problem by indexing database.
thank you
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: Timeout Expired

Post by Andrew »

Hello,

Great!

Have a nice weekend!
Post Reply