Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Query timeout
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

36 Posts

Posted - 08/22/2013 :  04:59:22  Show Profile  Reply with Quote
One of my system is using SQL 2008 as db and vb6 as a front end. It is running more then 4 years without any problem. From last week we are getting an error "Query timeout expired". We have checked the network speed and speed is okay. If we restart the sql service problem solved. But come again. What might be cause and what can I do?

James K
Flowing Fount of Yak Knowledge

3873 Posts

Posted - 08/22/2013 :  08:31:51  Show Profile  Reply with Quote
There is a default query timeout for queries coming from VB6 - it is 30 seconds if I am not mistaken. It could be that your queries were successfully completing under 30 seconds up until recently. Something must have triggered it to go over 30 seconds.

Are you doing regular maintainance on your database - i.e., statistics updates and index rebuilds/reorganizations? If you are not (or even if you are), check if you need stats update or index degragmenting.

Has there been more activity on the database recently compared to the past four years? If so that could have tipped the time required beyond the query timeout period.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000