SqlServer has been installed, and an error will be reported when installing again. In the final analysis, the installation failure is not uninstalled cleanly

1. Sql server is not uninstalled, first uninstall sqlServer

  1.     ①In the control panel,

Uninstall the main software Microsoft SQL Server 2008 (64-bit), (although there are a lot of programs starting with Microsoft SQL Server 2008, it is enough to select this main program, and other components will be automatically deleted during the deletion process), and There are uninstall programs starting with Mircosoft visual studio

②Uninstall uninstall tool: https://www.crystalidea.com/uninstall-tool

Use this tool to uninstall programs related to sqlserver,

 

③Delete Microsoft SQL Server in the installation instance (generally the default path is Program Files under C drive), and Microsoft SQL Server under Program Files (x86)

④ "Start+R" on the keyboard can quickly enter the operation, enter "regedit" to enter the registry editor.

Find: "SYSTEM" under "HKEY_LOCAL_MACHINE"——"CurrentControlSet"——"Control"——"Session Manage" (note, don't click the "+" sign in front of Session Manager, it is not the thing in "+", that is In Session Manager.) Find the PendingFileRenameOperations value and delete it.

⑤HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer

⑥ 1406 error may occur during reinstallation, the reason is that the installation program does not have the authority to write specific registry keys, and the authority needs to be set

   We fill in "regedit" in the run input box and click the OK button.

   After clicking the OK button, enter the registry editing window.

   After entering the registry editing window, we now find and click to open the HKEY_LOCAL_MACHINE folder, and then find and open \software\classes\msolapadmin2.msolapsources.1 in turn.

   After finding the msolapadmin2.msolapsources.1 registry key, select it and right-click it, and find the "Permissions" option in the pop-up list.

   After finding the permission option, then we click to open it. In the window that opens, select the "CREATOR OWNER" user, tick the box behind "Full Control" below, and finally press OK to exit.

⑦ Restart the computer and reinstall, unzip the downloaded compressed package again, and install with the newly unzipped installation package

When the installation is completed using this method, the final full-text search is not installed successfully and can be used normally

Guess you like

Origin blog.csdn.net/xulong5000/article/details/108668402