SQL Server : installation fails with error code 0x851A001A

Fabiana Palmisano 35 Reputation points
2023-07-05T09:21:15.6433333+00:00

Hi,

I am trying to install SQL server 2019 on my PC but I get the error in question.

how can i solve it?

Thanks,

Summary_PC-Fabiana_20230705_104151.txt

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

Accepted answer
  1. Erland Sommarskog 112.7K Reputation points MVP
    2023-07-05T10:30:42.3833333+00:00

    I see this message in the log file:

    Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.

    This is a generic message that informs us that SQL Server did not start when Setup wanted to run configuration actions.

    To understand why it fails, you need to check the SQL Server errorlog (as it says in the message). You find it C:\Program Files\Microsoft SQL Server\MSSQL15.SQLEXPRESS\MSSQL\LOG\ERRORLOG.

    If you see a message about 256 unaligned reads towards the end of the file, you are encountering a known issue where Windows 11 reports a disk-sector size that SQL Server cannot cope with. Microsoft has published an article with workarounds for this problem.

    If you don't see anything about 256, feel free to upload the ERRORLOG file here. (You will need to rename it to ERRORLOG.txt for it to be accepted.)

    3 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. PercyTang-MSFT 12,501 Reputation points Microsoft Vendor
    2023-07-06T02:59:07.4466667+00:00

    Hi @Fabiana Palmisano

    Based on the error message, I found a post that encountered the same error, you can refer to it.

    https://stackoverflow.com/questions/71003281/sql-server-installation-fails-with-error-code-0x851a001a-wait-on-the-databas

    If this can not help you, you need to check the error log according to Erland's advice.

    Best regards,

    Percy Tang

    1 person found this answer helpful.

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.