I got this error because the antivirus interfered with the installation process.
Temporarily turn off your antivirus and firewall, then try the installation again.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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!
I got this error because the antivirus interfered with the installation process.
Temporarily turn off your antivirus and firewall, then try the installation again.
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.
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.