Error in installing SQL Server 2022 - Exit code: 2068119551

Avirup Aditya 0 Reputation points
2024-10-16T16:25:52.0166667+00:00

I am trying to install SQL Server 2022 Developer Edition on my Windows 11. However, getting the following error - sql_err

Attaching the log summary and details.txt file for reference. Kindly help as soon as possible.

Detail.txt Summary_Avirup-PC_20241016_213603.txt

SQL Server | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Erland Sommarskog 121.6K Reputation points MVP Volunteer Moderator
    2024-10-16T21:46:39.04+00:00

    The message Wait on the Database Engine recovery handle failed is a generic error that means that SQL Server did not start when Setup wanted to run configuration steps. To understand why it did not start, you need to look in the SQL Server errorlog, which you find in C:\Program Files\Microsoft SQL Server\MSSQL16.MSSQLSERVER\MSSQL\LOG\ERRORLOG.

    If you see a message about 256 misaligned reads, you are running into a known issue where Windows 11 for some disk drives reports a sector size that SQL Server does not cope with. Microsoft has published an article with workarounds for the problem.

    If you don't see the message about misaligned reads, feel free to upload the errorlog here, so we can look at it. You will need to rename to ERRORLOG.txt for the forum software to accept it.


  2. Anonymous
    2024-10-17T01:58:31.7566667+00:00

    Hi @Avirup Aditya ,

    Thank you for your reaching out and welcome to Microsoft Q&A!

    Please try to launch the SQL Server Setup program (setup.exe) as administrator:

    User's image

    In addition, as far as I know, Error code: 2068119551 means Anti-Virus software is blocking deployment, you could try to Exclude the respective folders from Anti-Virus scans or disable Anti-Virus and deploy the patches.

    Finally, if you still fail to install it. It is not easy to uninstall SQL Server completely, something you failed to install last time may hinder your installation. You could reinstall it and follow the steps below:

    1. Uninstall the instance clearly follow this: cleanly-uninstalling-stubborn-sql-server-components,
    2. Reinstall the instance follow steps as this: step-by-step-installation-of-sql-server-2022

    I hope this helps! If you have any more issues or need further assistance, feel free to share with us!

    Best regards,

    Lucy Chen


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

    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.

    https://docs.microsoft.com/en-us/answers/support/email-notifications


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.