SQL developer edition shows an weird error.. Can anyone help me with this one ?

R, Aravind 46 Reputation points
2021-07-01T08:58:56.713+00:00

110915-sql-error.png

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,484 questions
{count} votes

Accepted answer
  1. CarrinWu-MSFT 6,851 Reputation points
    2021-07-05T02:04:12.767+00:00

    Hi @R, Aravind , this error may occurs when the registry be corrupted, you need repair the registry first, please refer to this similar thread. And after you uninstall SQL Server completely, please disable your Firewall service and antivirus software before you reinstall SQL Server.

    111460-screenshot-2021-07-05-100217.png


1 additional answer

Sort by: Most helpful
  1. CarrinWu-MSFT 6,851 Reputation points
    2021-07-02T01:31:49.317+00:00

    Hi RAravind-8319,

    Welcome to Microsoft Q&A!

    Thanks for posting the Detail.txt. After checked that file, I got below error:

    The MOF compiler could not connect with the WMI server. This is either because of a semantic error such as an incompatibility with the existing WMI repository or an actual error such as the failure of the WMI server to start.

    Have you try to install SQL Server for several times? If yes, there will have fragments from previous install attempts lodged in the windows registry. You need to delete the all fragments, and then right click run as administrator to reinstall SQL Server again.

    You could follow below steps to delete SQL Server:

    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.

    Here has one similar threads you could refer to:
    https://learn.microsoft.com/en-us/answers/questions/80329/sql-server-installer-says-mof-compiler-could-not-c.html

    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.