Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timeout for SQLStringConnect()
Message
 
 
To
19/03/2003 13:59:09
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00767717
Message ID:
00767747
Views:
10
>>Try
SQLSETPROP(0, "ConnectTimeOut", 2)
>
>This takes about 7 seconds now instead of the default 15 seconds. I also tried with 1 and it gives approximately 7 seconds. Do you know why it's like that?

No, I don't. Is your aplication using TCP/IP to communicate witrh Sql Server? You can add "Network=DBMSSOCN" to connection string to make sure that it does.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform