SQL Server 2022 Database Engine Services Won't Install!

Theodore Fyfe 20 Reputation points
2024-10-11T19:17:51.9733333+00:00

Hi,

I have been struggling with downloading SQL 2022 for days now, and this sucks because I really need it for school. No matter what I do, no matter what solution I use, the Database Engine Services always fails to download, which I believe I have pinpointed to have to do something with "sql_engine_core_shared.msi" not installing correctly.

Detail.txt

Summary.txt

I have looked through both logs and that seems to be the part where it messes up.

Then, I delved a little further through the "sql_engine_core_shared_Cpu64" log and the Event Viewer log and found some more info.

Event Viewer Error Report.txt

sql_engine_shared_Cpu64_1.log (1).txt

sql_engine_shared_Cpu64_1.log (2).txt

I had to separate the SQL log because the file size was too large to insert as one.

According to these, it appears that the problem lies with AzureAttestService not downloading right to which I have no idea why.

I have already tried all kinds of solutions like uninstalling completely and reinstalling, rebooting, checking the Windows Installer, checking the registries, and I've even gotten to the point where I've reset the PC.

At this point, I have completely run out of ideas of what to do. :( Please help!

SQL Server Other
{count} votes

4 answers

Sort by: Most helpful
  1. Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
    2024-10-11T21:27:44.54+00:00

    [Yes, this is sort of a canned answer. You are not the first to have installation problems.]

    My belief is that this error you get mainly in the situation when a user tried to install SQL Server and it failed with some error. The user might have tried some random cleanup and made renewed attempts. Because the cleanup was incomplete, Setup now fails with another error than it did originally.

    Could this apply to you? Or did this happen on the first attempt? (If it does apply to you, don't feel bad. I think it is quite a natural path to take.)

    Here is a link to an article that can help you to clean up properly: https://www.sql-easy.com/learn/how-to-uninstall-sql-server/. I have not tried it myself, but I learnt about it from a user who was in a similar situation as yours, and who was able to install SQL Server successfully after following the article.

    Since you are on Windows 11, be sure to read the article Troubleshoot errors related to system disk sector size greater than 4 KB before you try again. It discusses a known issue where Windows 11 reports a disk-sector size that SQL Server chokes on. This could be the cause for your original failure. Check out this article, and if needed apply the workarounds it proposes.


  2. CathyJi-MSFT 22,396 Reputation points Microsoft External Staff
    2024-10-12T03:34:14.67+00:00

    Hi @Theodore Fyfe

    It looks like you're encountering an error during the installation of SQL Server 2022. The error code 1722 typically indicates a problem with the Windows Installer package. This error can occur when a program run as part of the setup does not finish as expected.

    Please clearly uninstall the failure installation, then get the SQL server 2022 package from here. Run the setup file as administrator. Please ensure that your Windows operating system is up to date. Sometimes, missing updates can cause installation issues. Temporarily disable any antivirus software during the installation process, as it might interfere with the installation.


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

    0 comments No comments

  3. Arpit Dhote 0 Reputation points
    2024-10-12T06:28:41.19+00:00

    It sounds like a frustrating situation. Since the issue seems tied to the "sql_engine_core_shared.msi" and AzureAttestService, I’d suggest trying to install SQL Server with only the Database Engine selected (skip other features). Also, make sure Windows Update is fully up to date. If that fails, running the SQL Server Setup Support Files repair might help. Lastly, try installing the Microsoft Visual C++ Redistributable—some components might depend on it.

    0 comments No comments

  4. Theodore Fyfe 20 Reputation points
    2024-10-13T21:09:59.2+00:00

    Alright, I think I figured out the problem. My CPU is ARM-64 based, and if I remember correctly, it is not supported by SQL. Only 64-bits are compatible.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.