all groups > sql server odbc > october 2004 >
You're in the

sql server odbc

group:

Probable timeout error??


Probable timeout error?? Mike55
10/21/2004 1:49:01 AM
sql server odbc:
Hi all,

Am basically doing a select star on a collection of tables in Access tables,
the data that i select is then taken and put into an SQL server database. Now
i am getting the following error, which i believe is related to a timeout, as
i can transfer in the region of 3-4000 records before the error occurs. Is it
possible in the connection string to my sql database to specify a minimum
timeout time??

Here is the error:
-2147467259[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL server does not
exist or access denied

Here is my connection string:
Set gcnMartConnect = New ADODB.Connection

'Open a connection with the Marts SQL Server Database
gcnMartConnect.Open "UID=;pwd=;Database=Marts;" & _
"Server=localhost;Driver={SQL Server};"

Have added at various times "Connectiontimeout = 100000;" but this seems to
be of no help. Would appreciate it if someone could make some suggestions.

Re: Probable timeout error?? Derrick Leggett
10/22/2004 1:56:43 AM
That's not the error generally received when you get timeouts. Have you
checked the network connectivity for lost packets?

[quoted text, click to view]

AddThis Social Bookmark Button