Hi @Vaishali ,
Because you have been uninstall and reinstall SQL server, it will often get some errors when you reinstall SQL Server, so you need to uninstall SQL Server completely. Maybe there have some components have been left. And we recommend that you stop all SQL Server services before you uninstall SQL Server components. Active connections can prevent successful uninstallation.
Please follow below steps to delete the left components:
- Uninstall the existing SQL Server and all the components from the add remove program.
- Backup the registry.
- Delete the following keys using regedit:
--HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
--HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer - Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and delete all the sub-keys referencing SQL Server.
- Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete all the keys referencing SQL Server.
- Rename all the SQL Server folders in the computer.
- Reboot the machine.
Note: before you delete regedit, remeber to backup them.
Best regards,
Carrin
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.