M
myra_el_khoury
hi,
I'm using ADO.NET (in VB.net) in a windows service application to
perform a process on
SQL Server 2000. This process runs quickly if the database is locally
installed, but takes 30seconds when connecting to the server through
the network when the database is on the server.
So I had to add to the connection string "Connect timeout=30" , so it
doesn't give me error as Timeout expired.
ConnString = ""Data Source=" & ServerName & ";Initial Catalog= " &
DatabaseName & " ;Integrated Security=True;Connect Timeout=30""
is there a way to decrease the time taken by the application to run on
the server, while using the ADO connection is faster from the same
server
Regards,
MK
I'm using ADO.NET (in VB.net) in a windows service application to
perform a process on
SQL Server 2000. This process runs quickly if the database is locally
installed, but takes 30seconds when connecting to the server through
the network when the database is on the server.
So I had to add to the connection string "Connect timeout=30" , so it
doesn't give me error as Timeout expired.
ConnString = ""Data Source=" & ServerName & ";Initial Catalog= " &
DatabaseName & " ;Integrated Security=True;Connect Timeout=30""
is there a way to decrease the time taken by the application to run on
the server, while using the ADO connection is faster from the same
server
Regards,
MK