Sql server setup fails : Oops there was an error while checking the rules of sql server setup

Ayan Mondal 16 Reputation points
2022-11-02T09:13:13.683+00:00

256333-desktop-screenshot-20221102-14385613.png

I am Trying to install this but it keep saying this. I have not installed any pervious SQL servers ...

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

2 answers

Sort by: Most helpful
  1. PandaPan-MSFT 1,931 Reputation points
    2022-11-03T01:39:42.82+00:00

    Hi @Ayan Mondal ,
    Pls share more information like summary.txt or detial.txt. You can know how to get the txt from here: (https://learn.microsoft.com/en-us/sql/database-engine/install-windows/view-and-read-sql-server-setup-log-files?redirectedfrom=MSDN&view=sql-server-ver16)

    Or you can just reinstall SQL:
    1.Uninstall Software -- Control Panel-Uninstall a Program

    2.Remove SQL local installation files. Normally the location: C:\Program Files\Microsoft SQL Server

    3.Delete the registry (WIN+R and search regedit)
    Delete the files connected with Microsoft SQL Server under HKEY_CURRENT_USER—Software—-Microsoft
    Delete the files connected with SQL under HKEY_LOCAL_mACHINE—SOFTWARE—Microsoft
    In case missing something you can download windows installer clean up
    256574-image.png

    At last, try reinstalling the SQL

    Wish you good luck !


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


  2. Nidhi S 5 Reputation points
    2023-11-27T13:47:53.89+00:00

    Hi ,

    I had the same issue.

    1. Just try uninstalling every SQL related things from your system. I had Oracle and MySQL Workbench. I deleted all of the connector files, and the SQL and Oracle application.
    2. Also remove its folder from Program Files.
    3. Additionally delete the registry (WIN+R and search regedit)
      Delete the files connected with Microsoft SQL Server under HKEY_CURRENT_USER—Software—-Microsoft. Delete the files connected with SQL under HKEY_LOCAL_MACHINE—SOFTWARE—Microsoft . Then reinstall MS server 2022.

    This worked for me.

    Good luck !

    0 comments No comments

Your answer