Microsoft KB Archive/911285

= Error message in the event log on the server that is running SharePoint Portal Server 2003: &quot;Unable to connect to the database&quot; =

Article ID: 911285

Article Last Modified on 10/3/2007

-

APPLIES TO


 * Microsoft Office SharePoint Portal Server 2003

-



Important This article contains information about how to modify the registry. Make sure to 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:

256986 Description of the Microsoft Windows registry



SYMPTOMS
When you review the event log on the server that is running Microsoft Office SharePoint Portal Server 2003, you may find that many entries of the following error message are logged in the event log:

Unable to connect to the database. Check the database connection information and make sure that the database server exists.



CAUSE
This problem may occur when a user cannot successfully connect to a database on the server that is running SharePoint Portal Server 2003.



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

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

889380 How to obtain the latest service pack for SharePoint Portal Server 2003

After you install the service pack, follow the steps that are listed in the &quot;How to enable the hotfix&quot; section of the article to set the  registry key and to activate the hotfix.

How to obtain the hotfix
This issue is fixed in the SharePoint Portal Server 2003 post-Service Pack 1 Hotfix Package that is dated December 8, 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

911284 Description of the Microsoft Office SharePoint Portal Server 2003 post-Service Pack 1 hotfix package: December 8, 2005

To enable this hotfix, follow these steps.

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.  Click Start, click Run, type regedit in the Open box, and then click OK. Locate and then click the following registry subkey:

 

 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 exit 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 SharePoint Portal Server 2003 Service Pack 3.

Additional query words: sharepointportalserver2003 sharepointportalserver2k3 sps2003 sps2k3 sps

Keywords: kbregistry kberrmsg kbexpertiseinter kbqfe kbbug kbfix kbpubtypekc KB911285

-

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

© Microsoft Corporation. All rights reserved.