Re: timeout expired on View
- From: Denny <Denny@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 17 Feb 2009 02:08:01 -0800
I solve the problem with clients with MS Access by increasing the ODBC
timeout from 60 (by default) to 300. This can be done by opening the MS
Access SQL-Pass-Through query in Design mode and right clicking on the window
then accessing the properties. One of the properties is ODBC timeout.
But it still not resolve the problem with MS SQL Server Management Studio. I
have only MS SQL Management studio on client PC and when I executing a view I
have the same problem! Where I can change that query timeout on that client
PC in Management Studio?
"Erland Sommarskog" wrote:
Denny (Denny@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:.
Thanks for reply >>Erland Sommarskog
But I have already set - Connection time-out: 600 seconds and Execution
timeout:600 seconds.
Also in Tools-->Options-->Query Execution: Execution time-out:0
In Designers menu - Transaction time-out: 600 seconds
But it also not work I have the same problem - (“Error Source: .Net
SqlClient Data Provider. Error Message: Timeout expired. The timeout
period elapsed prior to completion of the operation or the server is not
responding. ”)
I see now that in your original post that you mentioned an application.
In a .Net app, you set the query timeout on either the Connection object
or the Command object with the CommandTimeout property.
And how to solve problem with MS Access (ODBC-call failed [Microsoft][ODBC
SQL Server Driver]Timeout expired (#0))
If you are using ADO, the answer is the same for ADO .Net. If you are
using something else, I don't know the answer, and it's more of an
Access question.
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
- Follow-Ups:
- Re: timeout expired on View
- From: William Vaughn \(MVP\)
- Re: timeout expired on View
- References:
- Re: timeout expired on View
- From: Denny
- Re: timeout expired on View
- From: Erland Sommarskog
- Re: timeout expired on View
- From: Denny
- Re: timeout expired on View
- From: Erland Sommarskog
- Re: timeout expired on View
- Prev by Date: Re: SSIS Problem
- Next by Date: Re: timeout expired on View
- Previous by thread: Re: timeout expired on View
- Next by thread: Re: timeout expired on View
- Index(es):
Relevant Pages
|