question

Vaishali-1456 avatar image
0 Votes"
Vaishali-1456 asked Vaishali-1456 commented

SQL 2019 Setup Error Message

I am trying to install SQL Server 2019 Express. I have rebooted multiple times and tried to install. I have also tried to un-install and re-install however I keep getting the same error.
Can someone please help me figure this out. I am trying to learn SQL and am unable to move forward. I have also attached the log file.

73654-summary-desktop-iiig6tq-20210302-225451.txt

The following error has occurred:

A previous installation required a reboot of the machine for changes to take effect. To proceed, restart your computer and then run Setup again.




sql-server-general
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

We have not received a reply from you. Did the answers could help you? If there has an answer helped, do "Accept Answer". If it is not work, please let us know the progress. By doing so, it will benefit all community members who are having this similar issue. Your contribution is highly appreciated.

1 Vote 1 ·

1 Answer

CarrinWu-MSFT avatar image
0 Votes"
CarrinWu-MSFT answered Vaishali-1456 commented

Hi @Vaishali-1456,

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:
1. Uninstall the existing SQL Server and all the components from the add remove program.
2. Backup the registry.
3. Delete the following keys using regedit:
--HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
--HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
4. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and delete all the sub-keys referencing SQL Server.
5. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete all the keys referencing SQL Server.
6. Rename all the SQL Server folders in the computer.
7. 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.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I followed the steps listed above Uninstalled SQL Server 2019 and tried to reinstall it again and now I get the following errors

[1]: /answers/storage/attachments/83943-april-2nd-error-message.jpg

[2]: /answers/storage/attachments/83829-april1st-error-message.jpg

0 Votes 0 ·