On run of SQL developer edition setup file, it finished setting up an error message "Oops, there was an error while checking rules of SQL server setup."

R, Aravind 46 Reputation points
2021-07-02T15:08:59.673+00:00

111405-sql-error.png

Can anyone please guide me for the successful installation ?.
Thank you,

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

Accepted answer
  1. Seeya Xi-MSFT 16,461 Reputation points
    2021-07-05T05:45:25.89+00:00

    Hi @R, Aravind ,

    The reason for the error1: Repeated installation and failed to clean up the corresponding registry information.
    Are you sure you have thoroughly cleaned the registry according to the steps provided by Carrin earlier?

    Code 2 means "The system cannot find the file specified. Indicates that the file can not be found in specified location."
    Please download the SQL Server 2019 setup media again and run it as administrator.
    During the installation, please set the startup type to AUTOMATIC.
    Maybe you can try change the startup type first.

    It may also be that the WMI server is not started.
    Enter ‘Control Panel’→‘System and Security’→‘Administrative Tools’→‘Service’→‘WMI Performance Adapter’→‘Properties’→‘Startup Type: Automatic’→‘OK’

    And some anti-virus software may freeze SQL Server installation. Please disable the anti-virus software and re-enable it after SQL server 2019 installation.

    Best regards,
    Seeya


    If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar queries.
    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.


3 additional answers

Sort by: Most helpful
  1. Erland Sommarskog 107.2K Reputation points
    2021-07-02T21:29:13.017+00:00

    Download the ISO and run the Setup wizard, so that you can see which Setup rule that fails.


  2. Erland Sommarskog 107.2K Reputation points
    2021-07-03T09:11:08.193+00:00

    Looks like your computer is not in good shape.

    Did you try to access the registry keys it's complaining about through Regedit?

    What anti-malware software are you running?


  3. Erland Sommarskog 107.2K Reputation points
    2021-07-03T18:44:16.537+00:00

    The antivirus question was the last straw....

    Something is absolutely wonky with your machine. Unfortunately, it requires knowledge of Windows and Setup programs in general that I don't possess as an SQL Server person. And the advice in the other thread may have made matters even worse than they were originally.

    So... I'm afraid that about the only advice I can give is to repair/reinstall Windows.