While installing Service Pack 3 for SQL Server, I was welcomed by a strangeerror about UNKNOWN\Components.

Line 2421: MSI (s) (C8:98) [22:31:05:835]: Product: Microsoft SQL Server System CLR Types (x64) Update ‘Service Pack 3 for SQL Server System CLR Types (64-bit) (KB2979597)’ could not be installed. Error code 1603. Additional information is available in the log file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20160105_195913\TFSDEV01\SQLSysClrTypes_Cpu64_1.log.

When I checked SQLSysClrTypes_Cpu64_1.log file, I found below error.

Line 2063: Error 1402. Could not open key: UNKNOWN\Components\0F02D6F45ECC29410AF18C3B9B1A1EE8\EDED107488810E94AB5E58875729C42A. System error 5. Verify that you have sufficient access to that key, or contact your support personnel.

Before attempting solutions, please take a backup of the registry. Microsoft’s built-in backup program allows for the ‘system state’ to be selectively backed up. You can also backup the windows\System32\Config’ directory while taking backup.


Try KB https://support.microsoft.com/en-us/kb/313222

This is a long KB and take a lot of time to find what exactly we need to run.


SQL SERVER   FIX   Error 1402. Could not open key: UNKNOWN\Components. System  ...

If above doesn’t work, then go to step 2

Step 2

I have used the psexec tool to grant permission on the components folder for logged in account, after granting the permission SP3 installation completed successfully. Here are the steps:

Close registry editor, if opened. Download and install psexec utility from the following link http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx Open a command prompt using ‘run as administrator’ In the command prompt Navigate to the folder where PSEXEC is installed. Execute the following from the command prompt. psexec -i -s cmd.exe The above command will open another command prompt running under ‘Local System’ On the new command prompt, open Registry Editor by typing “regedit” and hitting the enter key. In registry editor, navigate to the following hive HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components
SQL SERVER   FIX   Error 1402. Could not open key: UNKNOWN\Components. System  ...
Add the user account used to run the installation under permissions for the above hive and grant ‘Full control’ for that user. Click on Advanced.
SQL SERVER   FIX   Error 1402. Could not open key: UNKNOWN\Components. System  ...
Under the Advanced security settings for Components choose the user and check the “Replace all existing inheritable permissions…………” check box as shown below and click OK

I could move forward by following step # 2.

Reference: Pinal Dave ( https://blog.sqlauthority.com )

本文数据库(mssql)相关术语:熊片数据库 mssql数据库 oracle数据库 pubmed数据库 access数据库 万方数据库

主题: SQLWindowsBootstrapSQL ServerUTTIEDI
tags: command,Components,prompt,SQL,key,Server,backup,open,following,Microsoft
本文标题:SQL SERVER FIX Error 1402. Could not open key: UNKNOWN\Components. System ...

技术大类 技术大类 | 数据库(mssql) | 评论(0) | 阅读(277)