Unable to install SQL Server 2019

klea 0 Reputation points
2023-10-20T15:31:03.3833333+00:00

Hello,

I tried to install a SQL Server 2019, and then after a few minutes I get this error:

Oops, there was an error while checking the Rules of SQL Server setup.

How do I fix this please. I would appreciate your help.

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.
12,851 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Vahid Ghafarpour 18,450 Reputation points
    2023-10-20T17:42:48.1+00:00

    I got this error because the antivirus interfered with the installation process.

    Temporarily turn off your antivirus and firewall, then try the installation again.


  2. ZoeHui-MSFT 33,386 Reputation points
    2023-10-23T01:34:07.8166667+00:00

    Hi @klea,

    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
    And then re-install SQL Server for a try.

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  3. Barry Evanz 235 Reputation points
    2023-10-24T14:24:43.8266667+00:00

    When encountering the "Oops, there was an error while checking the Rules of SQL Server setup" during SQL Server 2019 installation, it's essential to take a systematic approach to resolve this issue. To start, ensure that your system has met all prerequisites. This includes having the latest .NET Framework and Visual C++ Redistributable packages installed, as these are fundamental for SQL Server's functionality.

    Furthermore, to mitigate potential permission problems, execute the SQL Server setup program with administrator privileges. This can be accomplished by right-clicking on the installation file and selecting "Run as administrator." It's a recommended step to preemptively address any access issues during installation.

    If the error persists after these preliminary actions, consider attempting a repair of the SQL Server setup. This approach can address problems related to missing or damaged files. Should the issue persist, you might need to conduct a full reinstallation by first uninstalling the existing SQL Server installation and then initiating a fresh setup.

    To rule out interference from antivirus software, temporarily disable your antivirus or security software during the installation process, reactivating it once the installation completes. For a more detailed understanding of the error, inspect the SQL Server installation logs. They can provide critical insights into the root cause of the problem.

    Should you still be unable to install SQL Server, it's advisable to seek assistance from Microsoft support for professional guidance. It's essential to ensure your system meets the specific system requirements outlined in the SQL Server 2019 documentation. Additionally, leverage online resources and forums to discover solutions to common installation issues, tapping into the collective knowledge of the community for tailored troubleshooting steps.

    0 comments No comments