MSSQL 18052 Error: 9003, severity: 20, Status: 1

Source: Internet
Author: User
Tags microsoft sql server mssql system log

Problem phenomenon:

System log files (Control Panel – Admin tools – System log)

You can find the following two errors:

17052:

Unable to recover master database. is exiting.

18052:

Error: 9003, severity: 20, Status: 1.

Workaround One:

Rename the Microsoft SQL server/mssql/data directory to the Data_bak directory, and then copy the Master.mdf,master.ldf,model.mdf,modellog.ldf from the other machine. Or you can just handcuff the data directory to it, and you can't put it in the Microsoft SQL server/mssql/data directory.

Then open the C:/Program files/microsoft SQL Server/80/tools/binn folder on the server, locate the Rebuildm.exe file and run it, reinitialize the master table, select the file, click Next to browse, Point to the folder just copied from the side of the computer, click OK to start reinitialization, prompt success (sometimes may also prompted failure, but it does not matter, because it is copied from another computer, the database file link is not the same), the point is OK to start the SQL service, Sometimes can not start the machine to restart it on it, then the database before attaching to the line, the display of doubts are deleted.

Workaround Two:

Reinstall SQL Server, generally first go to the control Panel to remove, and then remove the installation directory of C:Program Filessql server, if you are installed to another disk, the other disk X:program Filessql server folder will also be deleted, Then reinstall it.

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.