SQL 2019 Install Error - Database Engine Services

Brian H 11 Reputation points
2022-03-15T01:51:51.417+00:00

Keep receiving failed installations when trying to set up SQL Server 2019. I've tried checking Parameters within my Registry. The folder simply doesn't even exist. Any recommendations to fix this step by step would be greatly appreciated
183092-image.png
![183032-image.png]3

error Log:
Action required:
Use the following information to resolve the error, and then try the setup process again.

Feature failure reason:
An error occurred during the setup process of the feature.

Error details:
§ Error installing SQL Server Database Engine Services Instance Features
The Database Engine error log location is missing from the Parameters key.
Error code: 0x851A004A
Visithttps://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=15.0.4198.2&EvtType=0x93C54E3E%400x97A656BB%401306%4074&EvtType=0x93C54E3E%400x97A656BB%401306%4074 to get help on troubleshooting.

SQL Server Other
{count} votes

1 answer

Sort by: Most helpful
  1. AmeliaGu-MSFT 14,006 Reputation points Microsoft External Staff
    2022-03-15T03:27:50.21+00:00

    Hi BrianH-8386,
    Welcome to Microsoft Q&A.

    What the SQL Server service account are you using when installing? Please make sure the account has enough permissions to read and write the registry.
    And please go to Control Panel\Programs\Programs and Features, right-click Microsoft SQL Server 2019 (64-bit) ->select uninstall/change to uninstall the instance. Please check this doc for more details.

    183039-image.png

    Then remove SQL Server folders C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER.

    Finally, please make sure you right click on setup.exe file and select run as administrator to reinstall a SQL Server instance.

    You can also download SQL Server 2019 from here.

    If it does not work, please share us the setup log summary.txt and detail.txt within %programfiles%\Microsoft SQL Server\150\Setup Bootstrap\Log to analyze. Please refer to View and Read SQL Server Setup Log Files.
    Best Regards,
    Amelia


    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.


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.