Unable to install SQL Server: Exit code -2068052377

Braedon McRae 0 Reputation points



(summary.txt and detail.txt attached) I'm trying to install an SQL Server (2022) on my machine but it keeps giving me this error: enter image description here

I've tried all the things mentioned on other posts here that I've found, and nothing seems to be working. Reinstalling doesn't work, wiping my regedit with anything containing 'SQL' didn't work either. I've also tried to go through detail.txt but I can't seem to understand where the error is occurring. I'm stuck and not sure where to go next, any help? Summary.txt and Detail.txt files are attached.


SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
11,602 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Erland Sommarskog 93,056 Reputation points

    I find this:

    (01) 2023-11-07 14:30:50 Slp: Sco: File 'C:\SQL2022\Developer_ENU\x64\setup\x64\sql_engine_core_inst.msi' does not exist

    I've seen more than one person running into this error. Unfortunately, I have not been able to understand why. Is the file being snatched by the little green disk-eater? Or does this occur because you have tried some times already, and this was not your original issue?

    You could use Process Monitor to see what operations that occur with this file. Admittedly, working with Process Monitor can be tedious, although it seems straightforward to filter for \sql_engine_core_inst.msi.

    One more alternative is to select the option Download Media and then run from the ISO. Maybe this gives a different error message.

    By the way, do you have a file C:\Program Files\Microsoft SQL Server\MSSQL16.SQLEXPRESS\MSSQL\LOG\ERRORLOG? If so, can you share it?

    0 comments No comments

  2. CosmogHong-MSFT 17,231 Reputation points Microsoft Vendor

    Hi @Braedon McRae

    Cannot find registry key 'SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL16.MSSQLSERVER\ConfigurationState'.

    It seems this issue may be related to missing or corrupt registry keys, or broken installation media.

    Please try to launch the SQL Server Setup program (setup.exe) as administrator from SQL Server installation media-> Maintenance in the left-hand navigation area-> Repair.

    User's image

    In addition, if this does not work, you can try to remove previous failed installation clearly using the steps in this link and download it from here, then install it again. And please make sure to disable any antivirus software and turn off firewall for the time that the installation is running.

    Best regards,

    Cosmog Hong

    0 comments No comments