Microsoft KB Archive/912344

= You cannot configure the time-out value of the OLEDB database connection in Windows SharePoint Services 2.0 =

Article ID: 912344

Article Last Modified on 10/9/2007

-

APPLIES TO


 * Microsoft Windows SharePoint Services 2.0

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows XP and Windows Vista



SYMPTOMS
In Microsoft Windows SharePoint Services 2.0, you cannot configure the time-out value of the OLEDB database connection.



CAUSE
There is no option in Windows SharePoint Services 2.0 to configure the time-out value of the database connection. By default, the time-out value is 20 seconds.



RESOLUTION
This problem was first fixed in a hotfix that is now contained in a service pack. If you installed the latest Windows SharePoint Services 2.0 service pack, you do not have to install the hotfix.

Service pack information
This problem is corrected in Windows SharePoint Services 2.0 Service Pack 3.To resolve this problem, obtain the latest service pack for Windows SharePoint Services 2.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

906795 How to obtain the latest service pack for Windows SharePoint Services 2.0

After you install the service pack, follow the steps that are listed in this article to set the  registry subkey and to activate the hotfix.

How to obtain the hotfix
This issue is fixed in the Windows SharePoint Services 2.0 post-Service Pack 2 Hotfix Package that is dated December 15, 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

912345 Description of the Windows SharePoint Services 2.0 post-Service Pack 2 hotfix package: December 15, 2005

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 the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To enable this hotfix after you apply it, add the Database Connect Timeout registry entry to the following registry subkey:

Then, set the value of the registry entry to the number of seconds that you want for the database connection time-out value. The Database Connect Timeout registry entry represents the time-out value in seconds of the OLEDB database connection. Therefore, when you set the Database Connect Timeout registry entry to 20, the time-out value of the database connection is set to 20 seconds.

To enable this hotfix and set the time-out value of the database connection, follow these steps:  Click Start, click Run, type regedit, and then click OK. Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\Secure

 After you select the subkey that is specified in step 2, point to New on the Edit menu, and then click DWORD Value. Type Database Connect Timeout, and then press ENTER. Right-click Database Connect Timeout, and then click Modify. In the Value data box, type the number of seconds that you want for the database connection time-out value, and then click OK.

Note The default value for the database connection time-out value is 20 seconds.</li> On the File menu, click Exit to quit Registry Editor.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.This problem was first corrected in Windows SharePoint Services 2.0 Service Pack 3.

<div class="moreinformation_section">

MORE INFORMATION
The hotfix that is discussed in this article also applies to scenarios in which Data views in Microsoft Office FrontPage 2003 connect to databases by using OLEDB providers that are configured for Windows SharePoint Services 2.0.

Additional query words: wss timeout SQL server WSSv2

Keywords: kbregistry kbwsssp3fix kbwsspresp3fix kbqfe kbbug kbfix kbpubtypekc KB912344

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.