You receive a "Cannot connect to the configuration database" error message when you access your Windows SharePoint Services Web site (833183)



The information in this article applies to:

  • Microsoft Windows SharePoint Services

SYMPTOMS

You may experience one or both of the following symptoms when you try to access your Microsoft Windows SharePoint Services Web site after you install Windows SharePoint Services on the computer and put Microsoft SQL Server 2000 Desktop Engine (Windows) (WMSDE) in repair mode:
  • When you try to connect to your Windows SharePoint Services Web site, you receive the following error message:
    Cannot connect to the configuration database.
  • If you are already connected to your Windows SharePoint Services Web site and you click a link on the home page to visit another Web page on your site, you receive the following error message:
    Unable to connect to database. Check database connection information and make sure the database server is running.
Additionally, a series of event messages that are similar to the following are logged to the application event log: Type: Warning
Source: MsInstaller
Category: None
Event ID: 1004
Description:
Detection of product '{65657C59-23A8-4974-B8E0-BA04EBD04E4F}', feature 'SqlRun', component '{072BBB16-FE7A-405F-BBCC-54622D21CE3A}' failed. The resource 'HKEY_CURRENT_USER\SOFTWARE\Microsoft\Microsoft SQL Server\80\Tools\Service Manager\' does not exist.Type: Warning
Source: MsiInstaller
Category: None
Event ID: 1001
Description:
Detection of product '{65657C59-23A8-4974-B8E0-BA04EBD04E4F}', feature 'SqlRun' failed during request for component '{436D7A23-36BE-11D2-ACBB-0080C7FCBB84}' Type: Error
Source: MsiInstaller
Category: None
Event ID: 1013
Description:
Product: Microsoft SQL Server Desktop Engine -- Unable to run the script files.Type: Information
Source: MsiInstaller
Category: None
Event ID: 11728
Description:
Product: Microsoft SQL Server Desktop Engine -- Configuration completed successfully.Type: Error
Source: Windows SharePoint Services 2.0
Category: None
Event ID: 1000
Description:
#50070: Unable to connect to the database ConfigurationDatabase. Check the database connection information and make sure that the database server is running.

CAUSE

This issue may occur if both of the following conditions are true:
  • You install Windows SharePoint Services and WMSDE on the computer by using the Typical Installation Setup option.
  • WMSDE is in repair mode.

RESOLUTION

Note After you apply the update to WMSDE, a log file that is named WMSDEHotfix.log is created in the root of the drive where the environment variable, TMP, is set to. To determine the drive that the environment variable TMP is set to, open a command prompt, and then type set.

How to download and how to install the update

To obtain and to install the "Critical Update for SQL Server 2000 Desktop Engine (Windows) on Windows Server 2003 (KB829358)" update on the server, use one of the following methods as appropriate to your situation.

Install the update from the Microsoft Windows Update Web site

To install the "Critical Update for SQL Server 2000 Desktop Engine (Windows) on Windows Server 2003 (KB829358)" update from the Windows Update Web site, follow these steps:
  1. Connect to the Windows Update Web site. To do so, do one of the following:
  2. Click Scan for updates.
  3. In the Windows Update area at the left of the page, click Critical Updates and Service Packs.
  4. Verify that the "Critical Update for SQL Server 2000 Desktop Engine (Windows) on Windows Server 2003 (KB829358)" update is displayed and is selected in the list

    Important If the update is not listed in the Critical Updates and Service Packs area, see the "Availability of the update on the Windows Update Web site" section later in this article.
  5. Click Review and install updates.
Availability of the update on the Windows Update Web site

If the locale of WMSDE is different from the locale that is configured in Microsoft Windows Server 2003, the "Critical Update for SQL Server 2000 Desktop Engine (Windows) on Windows Server 2003 (KB829358)" update may not be listed in the Critical Updates and Service Packs area. To obtain the update, you must download it from the Windows Update Catalog Web site. For more information about how to do so, see the "Download the update from the Windows Update Catalog Web site" section later in this article.

The following list describes different scenarios where the update is listed and where the update is not listed in the Critical Updates and Service Packs area of the Windows Update Web site:
  • The update is listed in the Critical Updates and Service Packs area if any one of the following conditions is true:
    • The language of WMSDE that is installed on the server is the same as the language of Windows Server 2003.
    • The language of WMSDE that is installed on the server is English, for all languages of Windows Server 2003 where a corresponding language of WMSDE does not exist.
  • The update is not listed in the Critical Updates and Service Packs area if any one of the following conditions is true:
    • The language of WMSDE that is installed on the server is different from the language of Windows Server 2003, for all languages of Windows Server 2003 where a corresponding language of WMSDE exists.
    • The language of WMSDE that is installed on the server is not English, for all languages of Windows Server 2003 where a corresponding language of WMSDE does not exist.
WMSDE is available in Brazilian Portuguese, Dutch, English, French, German, Italian, Japanese, Korean, Spanish, Swedish, Simplified Chinese and Traditional Chinese.

Download the update from the Windows Update Catalog Web site

Use this method if you want to download the update and install it later or if the update is not listed in the Critical Update for SQL Server 2000 Desktop Engine (Windows) on Windows Server 2003 (KB829358) area of the Windows Update Web site. When you use this method, you download the update and save it to the location that you want. You can then install the update when you want to.

For more information about how to download updates from the Windows Update Catalog, click the following article number to view the article in the Microsoft Knowledge Base:

323166 How to download Windows updates and drivers from the Windows Update Catalog

Install the update by using the Automatic Updates feature

You can use the Automatic Updates feature in Windows Server 2003 to download and install the update.

For more information about the Automatic Updates feature in Windows Server 2003, click the following article numbers to view the articles in the Microsoft Knowledge Base:

327838 How to schedule automatic updates in Windows XP, Windows 2000, or Windows Server 2003

324798 How to configure automatic updates to prompt you before you download updates in Windows Server 2003

Download and install the update from the Microsoft Download Center

The following file is available for download from the Microsoft Download Center:
DownloadDownload the Critical Update for SQL Server 2000 Desktop Engine (Windows) on Windows Server 2003 (KB829358) package now.
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

WORKAROUND

To work around this issue, do one of the following, as appropriate to your situation:
  • Restart the server.
  • Restart the MSSQL$SharePoint service. To do so, follow these steps:
    1. Click Start, and then click Run.
    2. In the Open box, type cmd, and then click OK.
    3. At the command prompt, type the following lines, and then press ENTER after each line:

      net stop mssql$sharepoint
      net start mssql$sharepoint

    4. Type exit, and then press ENTER to quit Command Prompt.

MORE INFORMATION

For more information about Windows SharePoint Services and Microsoft SharePoint Portal Server, visit the following Microsoft Web site: For more information about the Critical Update for SQL Server 2000 Desktop Engine (Windows) on Windows Server 2003 (KB829358) update, click the following article number to view the article in the Microsoft Knowledge Base:

829358 Critical update for SQL Server 2000 Desktop Engine (Windows) on Windows Server 2003 is available for download on the Windows Update site


Modification Type:MinorLast Reviewed:7/27/2006
Keywords:kbsetup kbtshoot kbprb kbWebServices kberrmsg KB833183 kbAudITPRO