URGENT: Connection timeout for ADO.Net

himanshubari

Member
Joined
Mar 14, 2005
Messages
9
I use the connection timeout property for creating the SQLConnection. I am basically trying to open the connection to my remote database and if that fails I need to switch to my local database.
However ADO.net is taking around 40 seconds to figure out that it cannot open the connection. i have specified the connection timeout as 5 seconds.

Am i missing anything???

Thanks in advance
-Himanshu
 
Back
Top