How to fix SQL server installation error.

Fahim Sarker 20 Reputation points
2024-03-20T18:41:34.9+00:00

Screenshot 2024-03-21 003102

I am having this problem. Please help me out.
Detail.txt
Summary.txt

SQL Server Other
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2024-03-21T08:11:59.8533333+00:00

    Hi @Fahim Sarker,

    Thanks for the information you provided. According to your logs, I noticed that you’ve installed the SQL Server before. The errors in your logs are because you didn’t uninstall the SQL Server completely. Please follow the steps below to uninstall your SQL Server manually and then reinstall SQL Server.

    1. Run services. MSc to view all services, stop all services related to SQL Server.
    2. Uninstall all SQL Server components from ‘Programs and Features’.
    3. Delete the SQL Server related registry. (1) HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager, delete the ‘PendingFileRenameOperations’ . (2) All the keys under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft about Microsoft SQL Server. (3) HEKY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer .
    4. Delete the relevant folders. (1) Remove the physical path where the Microsoft SQL Server database is installed. (2) Delete the default installation folder of the system (If it is 64-bit, don’t forget to check the Program Files (x86) folder).
    5. Restart your computer.

    Best regards,

    Lucy Chen


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.

    https://docs.microsoft.com/en-us/answers/support/email-notifications

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Olaf Helper 47,436 Reputation points
    2024-03-20T18:45:32.61+00:00

    You post absolutely no information, like OS or SQL version, nothing, impossible to guess anything.

    See https://learn.microsoft.com/en-us/sql/database-engine/install-windows/view-and-read-sql-server-setup-log-files?view=sql-server-ver16 for more details.

    1 person found this answer helpful.

  2. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2024-03-20T21:32:11.9333333+00:00

    you appear to have a corrupted install. try:

    sqlserver installer -> Maintenance -> repair

    then try install. if this doesn't work, you will need to manually uninstall sqlserver

    https://sqlcoffee.com/Tips0026.htm

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.