ADOConnection TimeOut 30 second, no way to change it ???
- From: "YH. Chan" <yanhonpc@xxxxxxxxxxxx>
- Date: Mon, 25 Jun 2007 13:27:19 +0800
Hi,
i am using Delphi 5 and MsSQL 2000.
i use ADOConnection component to connect to SQL Server and using TQuey to
execute some store procedure. From Delphi help file, the default
CommandTimeOut
is 30 second and i had change the ADOConnection property as below:
AdoConnection.CommandTimeout := 600; // 10 minute
AdoConnection.ConnectionTimeout := 20;
When i execute the store procedure, it look like the setting is no effect
and the i am getting
time out problem as below ( i have log it )
XXXXX ( sp Name ) : Start at 25-06-2007 12:09:22 PM
25-06-2007 12:09:53 PM Error :Timeout expired
XXXXX ( sp Name ) : Start at 25-06-2007 12:10:30 PM
25-06-2007 12:11:01 PM Error :Timeout expired
It look like the CommandTimeOut still is 30 second, please help !!!!
* I had change the SQL server setting for Query Time out to 600 second and
if i execute
the same store procedure with same parameter in SQL Query Analyse, it
success to run.
* i try to use BDS2006 to compile the source and i still getting the same
error.
Please Help !!!!
.
- Follow-Ups:
- Re: ADOConnection TimeOut 30 second, no way to change it ???
- From: Mikael Eriksson
- Re: ADOConnection TimeOut 30 second, no way to change it ???
- Prev by Date: Re: Speed issue...
- Next by Date: Re: ADOConnection TimeOut 30 second, no way to change it ???
- Previous by thread: D7 ACCESS INTEGRITY REFERENTIAL
- Next by thread: Re: ADOConnection TimeOut 30 second, no way to change it ???
- Index(es):
Relevant Pages
|