SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


getting the error "odbc sql server driver timeout expired"


getting the error "odbc sql server driver timeout expired"

Author
Message
marees.inspire
marees.inspire
SSC Veteran
SSC Veteran (266 reputation)SSC Veteran (266 reputation)SSC Veteran (266 reputation)SSC Veteran (266 reputation)SSC Veteran (266 reputation)SSC Veteran (266 reputation)SSC Veteran (266 reputation)SSC Veteran (266 reputation)

Group: General Forum Members
Points: 266 Visits: 247
Hi ALl,
When i am trying to run the query from UI (to SQL) , getting the error "odbc sql server driver timeout expired".

Please provide me the reason for this issue and how to handle these issues.
JacekO
JacekO
SSCommitted
SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1557 Visits: 616
One reason could be the query you trying to execute takes a long time and the driver is timing out waiting for the response from the SQL Server. The default value is several minutes (I do not remember exactly - it was a while ago when I used ODBC) so if your query is executing quickly in Management Studio then maybe the UI timeout value was set to a much smaller value - check if your code is setting the timeout values.

---------------------------------------------
Nothing is impossible.
It is just a matter of time and money.

Wesley Norton
Wesley Norton
Say Hey Kid
Say Hey Kid (695 reputation)Say Hey Kid (695 reputation)Say Hey Kid (695 reputation)Say Hey Kid (695 reputation)Say Hey Kid (695 reputation)Say Hey Kid (695 reputation)Say Hey Kid (695 reputation)Say Hey Kid (695 reputation)

Group: General Forum Members
Points: 695 Visits: 442
I have seen the same problem here where some Access "applications" were used as front ends for the MSSQL tables. There is a timeout field that you can set. Don't make the same mistake we did and set it really high. Set it to 0 (my experience in Access) and it will disable time out.

What kind of UI is it?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search