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

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

imrul
Starting Member

Bangladesh
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

3706 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  
 New 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.04 seconds. Powered By: Snitz Forums 2000