Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.With this fix you can make changes to the default
KeepAliveTime and
KeepAliveInterval registry settings that DBNetLib uses. To change the default
values, you must edit the following two registry keys:
HKLM\SOFTWARE\Microsoft\MSSQLServer\Client\SuperSocketNetLib\Tcp
==> KeepAliveTime : DWORD : <dwValue>
HKLM\SOFTWARE\Microsoft\MSSQLServer\Client\SuperSocketNetLib\Tcp
==> KeepAliveInterval : DWORD : <dwValue>
If you do not have these registry keys (
KeepAliveTime and
KeepAliveInterval) in the following location:
HKLM\SOFTWARE\Microsoft\MSSQLServer\Client\SuperSocketNetLib\Tcp
DBNetlib uses the default value (30,000 milliseconds and 1,000
milliseconds, respectively). If you want to change these default values, add
these registry keys, and then set their value. Note that these values are in
milliseconds.