I cannot get SQL SERVER 2019 installed - Exit code:

Paul 1 Reputation point
2022-05-11T07:47:52.77+00:00

200888-sqlserversend.jpg

I have tried running this as an admin, and I have tried repairing, and uninstalling too. I cannot resolve this issue.

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

7 answers

Sort by: Most helpful
  1. Sreeju Nair 11,606 Reputation points
    2022-05-11T08:16:21.313+00:00

    Try the following.

    1. Make sure you run the installer as "Run as administrator"
    2. In your operating system folder, under program files (say C:\Program Files ), right click Program files folder, go to advanced and then uncheck the compress content option.
      200912-image.png
    3. If this not helps, then go and analyze the SQL Server setup log files, you might get some more details that helps you to identify the problem. Refer: https://learn.microsoft.com/en-us/sql/database-engine/install-windows/view-and-read-sql-server-setup-log-files?view=sql-server-ver15
    0 comments No comments

  2. YufeiShao-msft 7,051 Reputation points
    2022-05-11T08:21:58.617+00:00

    HI @Paul ,

    Check your error log, whether the SQL Server Setup process cannot enumerate the following registry subkey:

    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge  
    

    You should install the Edge browser version 86.0.622.56 or a later version that includes the fix for this problem:

    1. Start Microsoft Edge.
    2. Select the Settings (ellipsis) button in the top-right corner.
    3. On the Settings menu, select Help and feedback > About Microsoft Edge.
    4. To complete the Edge update installation, select Restart.

    or

    1. start Registry Editor, right-click the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge subkey, and then select Permissions.
    2. In the Permissions window that opens, select Advanced.
    3. At the top of the Advanced Security Settings window, select Change next to the listed owner.
    4. In the Select User, Computer, Service Account, or Group window, type the name of your Windows user account (or your email address if you have a Microsoft account) in the Enter the object name to select box, and then select Check Names to validate the account name.
    5. Select OK two times.
    6. In the Permissions window, select the Users group, and then select the Allow check box for the Full Control permissions.

    Attempted to perform an unauthorized operation error when you set up or update SQL Server instances

    -------------

    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.

    0 comments No comments

  3. Paul 1 Reputation point
    2022-05-11T08:22:27.27+00:00

    @Sreeju Nair

    Thank you for your answer, but unfortunately I have already tired 1 & 2 and it did not work.

    I am on windows 11, and would this be a problem?

    I am not too well advanced in reading problems. I need to express edition to get it used in conjunction with visual studio.

    0 comments No comments

  4. Paul 1 Reputation point
    2022-05-11T08:33:34.547+00:00

    @YufeiShao-msft

    I followed what you said to do, but unfortunately I have the same error

    0 comments No comments

  5. Paul 1 Reputation point
    2022-05-11T08:41:38.683+00:00

    @YufeiShao-msft

    Micrsoft edge is up to date and I do not have a folder "microsoft edge subkey" under the path you sent in:
    start Registry Editor, right-click the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge subkey

    0 comments No comments