Query Timeout error



Hi There,

I sometimes get the following error when I execute a SQL 2005 stored
procedure using ADO VBA in Access 2003.


-2147217871

MS ODBC SQL Server Driver

Timeout Expired


The ODBC Query Timeout Reg key is set to 0 and the SQL Server remote query
timeout options are configured as in this article:
http://support.microsoft.com/kb/314530/en-us

I never get this when I execute the stored procedure in SSMS Express.
Another oddity is that the query usually succeeds even when I get the error.

Are there any other settings to try?

TIA,
Josh


.



Relevant Pages

  • Re: Problem using Access or Query Designer to run queries in SQL Serve
    ... >or Query Designer within Enterprise Manager, it works and I get data back. ... >ODBC Call Failed [ODBC SQL Server Driver] Timeout Expirederror in Access ... >[ODBC SQL Server Driver] Timeout Expired ...
    (microsoft.public.sqlserver.odbc)
  • Re: SQL Query Performance
    ... Execute the query and see which is faster. ... I support the Professional Association of SQL Server and it's community of SQL Server professionals. ... > I want to select Fleet_Id and Fleet_Name from fleet table> Where the current user has privilege. ...
    (microsoft.public.sqlserver.programming)
  • Problem using Access or Query Designer to run queries in SQL Serve
    ... When I try to run a simple kind of query from Access ... ODBC Call Failed [ODBC SQL Server Driver] Timeout Expirederror in Access ... but if running queries via Access doesn't ...
    (microsoft.public.sqlserver.odbc)
  • Re: SQL 2000 manual start job sort order
    ... As you might know, without ORDER BY, SQL Server is free to optimize and execute a query in any way ... then the optimizer has to ...
    (microsoft.public.sqlserver.server)
  • Re: Closing a connection BEFORe command execution has completed
    ... closing the connection with Connection.Close does not close the connection--it simply releases it back to the pool so the engine will continue to fill the cache--but it's not that large so the operation might simply hang resources on the server until the connection is reused. ... The problem is, since all of the Execute methods are synchronous, there is no way to interrupt the query or action command process. ... Because of the way TDS and SQL Server responds to cancel requests your operation might not be immediately "stoppable"--SQL Server might have some cleanup to do before releasing control and resources. ...
    (microsoft.public.dotnet.framework.adonet)

Loading