Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Connection timeout in a connection string
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Setting Connection timeout in a connection string
Miscellaneous
Thread ID:
00738656
Message ID:
00738656
Views:
85
I am using DNS less connections by "USE"ing a dbc view with a connection string. When accessing sqlserver across a WAN, I get a timeout in 15 seconds (which is the default). I have been unable to find a way to make the odbc driver wait longer for a response. I tried adding "connectiontimeout = 120" to the connection string, but it gets passed on to sqlserver which rejects it.

Does anyone know any way to set the connection timeout when using a connection string?

I know that I can set the connection timeout in the dbc connection. However, I can't use the connection in the dbc because the connection is dynamic and changes from server to server and database to database.

Any help would be appreciated.

Thanks,

Don Tanner
CSI Softworx Inc
www.csisoftworx.com
Don Tanner
Next
Reply
Map
View

Click here to load this message in the networking platform