DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 909967 - Last Review: June 20, 2014 - Revision: 18.0

Notice
Collapse this imageExpand this image
Important If SQL Server 2005 is running together with an earlier version of SQL Server on the computer, SQL Server Enterprise Manager and other programs that depend on SQL-DMO may be disabled when you uninstall the instance of SQL Server 2005.

This issue may occur in one of the following situations:

  • There are side-by-side installations of SQL Server 2000, SQL Server 2005, and SQL Server 7.0, and someone uninstalls one of the versions.
  • There are side-by-side installations of SQL Server 2000 and SQL Server 2005, and SQL Server 2000 was installed after SQL Server 2005.

This issue occurs because the registration for the SQL Server 2005 SQL-DMO COM library was deleted. To re-enable SQL Server Enterprise Manager and other programs that depend on SQL-DMO, register SQL-DMO, run the following command at a command prompt: regsvr32.exe sqldmo.dll

On This Page

INTRODUCTION

This article describes how to manually uninstall a stand-alone instance of Microsoft SQL Server 2005. Complete the steps in this article only if you cannot uninstall SQL Server 2005 by using Add or Remove Programs. For more information about how to use Add or Remove Programs to uninstall SQL Server 2005, see How to: Uninstall an Existing Instance of SQL Server 2005 (Setup). (http://msdn.microsoft.com/en-us/library/ms143412(v=sql.90).aspx)

When you finish the steps in this article, you can reinstall SQL Server.

More information

We recommend that you use Add or Remove Programs to uninstall SQL Server 2005. However, if an installation fails or if Add or Remove Programs does not uninstall the instance of SQL Server 2005, follow the steps in this article to uninstall the instance manually.

Collapse this imageExpand this image
Note SQL Server setup is a complicated process. SQL Server setup modifies lots of registry keys and DLL files. SQL Server setup also installs and updates permission entries and service registrations.  

We test SQL Server setup procedures, both installation and uninstallation, in many configurations. However, we cannot test all configurations due to the number of third-party products and customer specific changes that can occur at the operating system level. Therefore, you may encounter rare circumstances that prevent successfully installing or uninstalling SQL Server by using the setup program.

Because of these complexities, the SQL Server Support team may recommend that you reinstall the operating system if the procedures outlined in this article do not help perform a clean uninstall of the SQL Server program. This helps provide a clean platform to reinstall SQL server on your system.

Collapse this imageExpand this image
Note If you receive the following error message during the SQL Server 2005 Setup process, a SQL Server 2005 component was not uninstalled from the computer:
A component that you have specified in the ADD_LOCAL property is already installed. To upgrade the existing component, refer to the template.ini and set the UPGRADE property to the name of the component.

Before you uninstall SQL Server 2005

Back up the data

Delete the local security groups

Save or rename the SQL Server Reporting Services folders

Stop all SQL Server services

Use an account that has the required rights

How to uninstall a stand-alone instance of SQL Server 2005 manually

Collapse this imageExpand this image
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756  (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows

Step 1: Make sure that the Microsoft SQL Server Setup Support Files component is installed

Step 2: Run the command to uninstall the SQL Server components

Step 3: Uninstall the support components

Step 4: Uninstall the Microsoft SQL Server Native Client component

Step 5: Uninstall the Microsoft SQL Server Setup Support Files component

If these steps did not uninstall all the components

Click here to view or hide detailed information

Additional Resources

For more information about how to manually uninstall a SQL Server 2005 failover cluster, see the "How to manually uninstall a SQL Server 2005 failover cluster" topic in SQL Server 2005 Books Online, or see the following article on the MSDN website: http://msdn2.microsoft.com/en-us/library/ms180973(SQL.90).aspx (http://msdn2.microsoft.com/en-us/library/ms180973(SQL.90).aspx)

For more information about how to uninstall an instance of SQL Server 2000 manually, see Microsoft Knowledge Base article 290991  (http://support.microsoft.com/kb/290991/ ) How to manually remove SQL Server 2000 default, named, or virtual instance.

Applies to
  • Microsoft SQL Server 2005 Standard Edition
  • Microsoft SQL Server 2005 Standard X64 Edition
  • Microsoft SQL Server 2005 Standard Edition for Itanium-based Systems
  • Microsoft SQL Server 2005 Enterprise Edition
  • Microsoft SQL Server 2005 Enterprise X64 Edition
  • Microsoft SQL Server 2005 Enterprise Edition for Itanium-based Systems
  • Microsoft SQL Server 2005 Developer Edition
  • Microsoft SQL Server 2005 Express Edition
Keywords: 
kbsqlsetup kbinfo kbsql2005setup kbexpertiseinter kbexpertiseadvanced kbtshoot kbcip KB909967
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support