question

AlphaGe-6596 avatar image
0 Votes"
AlphaGe-6596 asked SeeyaXi-msft commented

SQL Server 2019 install failure with Wrong results:-2068052614

Overall summary:
Final result: 失败: 请查看下面的详细信息
Exit code (Decimal): -2068052614
Start time: 2021-08-03 12:14:24
End time: 2021-08-03 12:14:48
Requested action: Install

Machine Properties:
Machine name: DESKTOP-750KE92
Machine processor count: 6
OS version: Microsoft Windows 10 企业版 G (10.0.17763)
OS service pack:
OS region: 中国
OS language: 中文(中国)
OS architecture: x64
Process architecture: 64 位
OS clustered: 否



something in 120138-detail.txt
(01) 2021-08-03 12:14:49 Slp:
(01) 2021-08-03 12:14:49 Slp: 错误结果: -2068052614
(01) 2021-08-03 12:14:49 Slp: 结果设备代码: 1212
(01) 2021-08-03 12:14:49 Slp: 结果错误代码: 1402
(01) 2021-08-03 12:14:49 Slp: WER: Application level consent value 'True' was mapped to consent status 'WerConsentApproved'
(01) 2021-08-03 12:14:49 Slp: WER: Result of the submission:: 'WerDisabled'
(01) 2021-08-03 12:14:49 Slp: WER: Submitted 1 of 1 failures to the Watson data repository
(01) 2021-08-03 12:14:49 Slp: SetupTelemetry: Closing Telemetry Session
(01) 2021-08-03 12:14:49 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2021-08-03 12:14:49 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\SQMClient
(01) 2021-08-03 12:14:49 Slp: Sco: Attempting to get registry value MachineId
(01) 2021-08-03 12:14:49 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2021-08-03 12:14:49 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\150
(01) 2021-08-03 12:14:49 Slp: Sco: Attempting to get registry value UserRequestedLocalAuditDirectory
(01) 2021-08-03 12:14:49 Slp: SetupTelemetry: Audit log enabled. Writing events to: 1\Setup_2021-08-03.json
(01) 2021-08-03 12:14:49 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2021-08-03 12:14:49 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\150
(01) 2021-08-03 12:14:49 Slp: Sco: Attempting to get registry value CustomerFeedback
(01) 2021-08-03 12:14:49 Slp: Sco: Attempting to get registry value EnableErrorReporting
(01) 2021-08-03 12:14:49 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2021-08-03 12:14:49 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\Instance Names
(01) 2021-08-03 12:14:49 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2021-08-03 12:14:49 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\Instance Names
(01) 2021-08-03 12:14:49 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2021-08-03 12:14:49 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\Instance Names
(01) 2021-08-03 12:14:49 Slp: SetupTelemetry: Telemetry has an active session with 21 events.



sql-server-general
detail.txt (1.0 MiB)
· 4
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.


Maybe it is influenced by an antivirus (https://docs.microsoft.com/en-us/answers/questions/358849/)? Also try launching the installer as administrator.


0 Votes 0 ·

I close my antivirus&launching the installer as administrator ,and try again,but also failed.

0 Votes 0 ·

I am not sure that the part of the detail.txt you posted is relevant. Could you attach the full file?

0 Votes 0 ·

I have uploaded the detail.txt,please checking

0 Votes 0 ·

1 Answer

SeeyaXi-msft avatar image
0 Votes"
SeeyaXi-msft answered SeeyaXi-msft commented

Hi @AlphaGe-6596 ,

Please refer to :
https://www.veritas.com/support/en_US/article.100013289
Given that you have tried the first solution, you can try the second solution.

https://support.faxmakeronline.gfi.com/hc/en-us/articles/360015166479-Microsoft-Windows-Component-Installation-Error-Error-1402-Could-Not-Open-Key-

If it still doesn't work, can you attach your detail file for convenience?
And before you reinstall it, there are some steps you have to do:
1. Uninstall the existing SQL Server and all the components from the add remove program.
2. Backup the registry.
3. Delete the following keys using regedit:
--HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
--HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
4. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and delete all the sub-keys referencing SQL Server.
5. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete all the keys referencing SQL Server.
6. Rename all the SQL Server folders in the computer.
7. Reboot the machine.

Best regards,
Seeya


If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar queries.
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.

· 4
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.

I try your solution,but not work.
I have uploaded the detail.txt,please checking

0 Votes 0 ·

Hi @AlphaGe-6596 ,

(01) 2021-08-03 12:14:33 Slp: MSI Error: 1402 Could not open key: UNKNOWN\Components\7510101DCAB8C8242AEC21AE1F4B9D4A\E0DECD7172B5A3542B4B4E788B962BA8. Verify that you have sufficient access to that key, or contact your support personnel.

The error is generally caused by insufficient or incorrect permissions on the named registry keys or parent container of such registry keys.
Please see the link I post.
Note: Be sure to uninstall the failed installation cleanly before reinstalling, otherwise it will cause a new error. Then right click the set up as administrator.

Best regards,
Seeya

0 Votes 0 ·

too much registry keys need change permissions.sad!

0 Votes 0 ·
Show more comments