question

Paul-9683 avatar image
0 Votes"
Paul-9683 asked Yufeishao-msft commented

I cannot get SQL SERVER 2019 installed - Exit code:

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-general
sqlserversend.jpg (45.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

sreejukg avatar image
0 Votes"
sreejukg answered

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://docs.microsoft.com/en-us/sql/database-engine/install-windows/view-and-read-sql-server-setup-log-files?view=sql-server-ver15





image.png (55.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yufeishao-msft avatar image
0 Votes"
Yufeishao-msft answered Yufeishao-msft edited

HI @Paul-9683,

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.





5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Paul-9683 avatar image
0 Votes"
Paul-9683 answered

@sreejukg

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Paul-9683 avatar image
0 Votes"
Paul-9683 answered

@Yufeishao-msft

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Paul-9683 avatar image
0 Votes"
Paul-9683 answered

@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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yufeishao-msft avatar image
0 Votes"
Yufeishao-msft answered Yufeishao-msft edited

Hi,If you can share your errorlog for more information

This error means that your account does not have sysadmin privileges on system where you are installing SQL Server express.

There is anti virus running on system which is blocking registry access. Disable any antivirus/security software and firewall

For win11, we are aware of at least one issue that many users have seen with SQL 2019 not working when installing on Windows 11 or SQL 2019 no longer working when the OS is upgraded to Windows 11
You can try to install SQL on a secondary drive (if able) that is a separate physical disk from the system’s C: drive, creating a VHD to use for the SQL Server installation, or enabling TF1800 first

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Paul-9683 avatar image
0 Votes"
Paul-9683 answered Yufeishao-msft commented

@YukiSun-MSFT

What is the file called to share the log?

I have turned off my fire walls and virus protection. I ran it as the admin, and I created a virtual HD (volume D), and it still gave me the same problem

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

provide your error log and the detail.txt for more information, In the folder : %programfiles%\Microsoft SQL Server\nnn\Setup Bootstrap\Log\YYYYMMDD_hhmmss

0 Votes 0 ·