Page 1 of 1
Ping and connectionTimeOut
Posted: Tue 01 Oct 2013 09:34
by EarlyBird
Hi,
how to set connectionTimeout for the Ping method?
I set connectionTimeOut to 5.
But if ping fails it always takes over 45 seconds.
can i change it?
Thanks for help
Re: Ping and connectionTimeOut
Posted: Tue 01 Oct 2013 14:04
by AndreyZ
Hello,
The Ping method takes into account the ConnectionTimeout property. Please specify the exact situation when the Ping method waits 45 seconds whilst ConnectionTimeout is set to 5 seconds.
Re: Ping and connectionTimeOut
Posted: Tue 01 Oct 2013 18:17
by EarlyBird
Hello,
I connect from the client to the Server over a network via VPN.
The ConnectionTimeout is set to 5
For a test I close the VPN and then try to Ping to the Server.
Re: Ping and connectionTimeOut
Posted: Thu 03 Oct 2013 10:12
by AndreyZ
To work with SQL Server, UniDAC uses the OLEDB or SQL Native Client provider. The value you set in the ConnectionTimeout property, SDAC transfers to the used provider. There is no way for SDAC to influence the exact time the provider waits for respond from the server. We cannot influence the behaviour of the provider.