Why SQL Server 2000 fails to be installed

Source: Internet
Author: User
Tags server error log

I recently reinstalled the system and encountered some problems when installing the database. The following error is always prompted,

During the installation process, I only specified the installation directory of the database and checked the Installation Log (sqlstp. Log). The following error message is displayed:

######################################## #######################################

10 : 23 : 28 Process exit code :( - 1 )
10 : 23 : 34 InstallProgramAn error occurred while configuring the server. For more information, see Server Error Log and c: \ windows \ sqlstp. log.
10 : 23 : 34 Action cleanupinstall:
10 : 23 : 34 C: \ release E ~ 1 \ Admini ~ 1 \ Locals ~ 1 \ Temp \ sqlsetup \ bin \ scm.exe - Silent 1   - Action 4   - Service SQLServerAgent
10 : 23 : 34 Process exit code :( 1060 ) The specified service is not installed.

10 : 23 : 34 C: \ release E ~ 1 \ Admini ~ 1 \ Locals ~ 1 \ Temp \ sqlsetup \ bin \ scm.exe - Silent 1   - Action 4   - Service MSSQLServer
10 : 23 : 34 Process exit code :( 0 )
10 : 23 : 34 Statsgenerate returned: 2
10 : 23 : 34 Statsgenerate ( Zero X 80000000 , 0x1 , 0xf00000 , Zero x 100 , 2052 , 303 , 0x0 , 0x1 , 0 , 0 , 0
10 : 23 : 34 Statsgenerate - 1 , Administrator)
10 : 23 : 34 Installation failed.

Google may have a file in the installation directory and deleted the directory "C: \ Program Files \ Microsoft SQL Server". The installation still failed, which is strange. Recall my installation, is it because the specified database file directory has to be deleted, and then the data file directory I put on drive D has been deleted. Because it was previously installed, the "MSSQL" directory exists, after this directory is deleted, the installation is successful!

Tip:

    • Before deleting the MSSQL directory, check whether the directory contains useful database files. If yes, back up the files to other directories.
    • After you fail to reinstall SQL Server, follow these steps to install it multiple times without restarting it.

1. Enter Regedit in start-> running
2. to the HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Session Manager location
3. Select File> export and save (for security reasons)
4. Right-click pendingfilerenameoperations in the right window, select Delete, and then confirm

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.