Article ID: 816499
Article Last Modified on 6/10/2003
APPLIES TO
- Microsoft SQL Server 2000 Desktop Engine
SYMPTOMS
If you install SQL Server Desktop Engine (also known as MSDE 2000), Setup may fail, and you may receive the following error message:
CAUSE
This problem may occur if the new MSDE instance name is the same as the previously removed MSDE instance name, and the data files of the previous MSDE instance still exist in the Data folder.
WORKAROUND
To work around this problem, use one of the following methods.
Method 1: Move the Previous MSDE Data Folder
To do so, follow these steps:
- Start Windows Explorer.
- Locate the Data folder for the previous MSDE instance.
Note By default, the location of the Data folder for a named MSDE instance is C:\Program Files\Microsoft SQL Server\MSSQL$instance_name
. If you specify the datadir setup parameter during the installation, the location of the Data folder is value of DATADIR parameter
MSSQL$instance_name
.
- Move the Data folder to a different location.
Method 2 : Change the Data Folder Location
Set the location of the Data folder to a location that is different from the location that you specified in the previous installation. You can specifiy the location of the Data folder for the new instance of the MSDE by using startup parameters. To do so, perform one of the following tasks:
- ==== Use Command-Line Arguments ====
To specify the setup parameters as a command-line argument, follow these steps:
- Open a command prompt, and then locate the directory of the MSDE files.
- Type the following command at the command prompt (where
instance name
is the MSDE instance name,installation drive
is the name of the drive where the MSDE instance is installed, anddata folder name
is the name of the data folder):
setup.exe /iRelative path of installation package file
INSTANCENAME="instance name
" DATADIR="installation drive
:\Programfiles\Microsoft SQL Server\data folder name
"
- ==== Use the Setup.ini File ====
To specify the setup parameters by using the Setup.ini file, follow these steps:
- Open a command prompt, and then locate the directory where the MSDE files exist.
- Use Notepad to open the Setup.ini file.
- Type the following information in the Setup.ini file (where
Data_Folder
is the full path of Data folder andInstance_Name
is the name of the MSDE instance that you want to install):
[Options]
DATADIR ="Data_Folder
"
INSTANCENAME="Instance_Name
" - Save the Setup.ini file.
- Type the following command at the command prompt (where
Installation_Package_File_Path
is the full path of installation package file):
setup.exe /iInstallation_Package_File_Path
/settings setup.ini
Method 3: Manually Remove the Previous Instance of MSDE
When you remove the MSDE instance by using the Add/Remove Programs tool, the Data folder that corresponds to the MSDE instance are not removed. To make sure that previous instance of the MSDE is completely removed, manually remove the MSDE instance.
For additional information about how to manually remove MSDE, click the following article number to view the article in the Microsoft Knowledge Base:
320873 HOW TO: Manually Remove a Microsoft SQL Server 2000 Desktop Engine (MSDE 2.0) Instance
MORE INFORMATION
If you remove a named instance of MSDE by using the Add/Remove Programs tool, the data files of that instance of MSDE are not removed. When you install an instance of MSDE that has the same name and Data folder path as the previous instance of MSDE, the MSDE installer does not create the system databases for the new instance of MSDE because system databases exist in the specified Data folder.
REFERENCES
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
302409 FIX: Unable to Connect to SQL Server 2000 When Certificate Authority Name Is the Same As the Host Name of the Windows 2000 Computer
275307 BUG: Installation of SQL Server 2000 Desktop Engine Fails on Computers That Already Have SQL Server 7.0 Tools Installed
299351 BUG: MSDE Installation Fails on Systems That Have SQL Server 2000 Service Pack 1 or 2 Installed
Keywords: kberrmsg kbprb KB816499