Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ODBC Timeout

Status
Not open for further replies.

scabral79

MIS
May 16, 2007
25
US
I have a vendor client application installed on a local machine which uses an SQL ODBC connection to connect to SQL Server 2000.

I have the ability to run T-SQL commands from within the application. However, when i am executing a certaion stored proc that takes about 2 1/2 minutes to run from Query Analyzer, it times out after exactly 2 minutes from the application.

i get the following error:

Error: S1T00: [Microsoft][ODBC SQL Server Driver]Timeout Expired

does anyone know where the ODBC driver timeout setting are set? I believe mine is set to 120 seconds, but i need to increase it.

thanks
scott
 
This would need to be handled in your application.

In ADO you can do it by setting the CommandTimeout property on your command objects. I am not sure about ODBC. What is your application written in?

Ignorance of certain subjects is a great part of wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top