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.

SOLUTION Step 1

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.

SECEDIT /CONFIGURE /CFG %WINDIR%\INF\DEFLTBASE.INF /DB DEFLTBASE.SDB /VERBOSE /AREAS REGKEYS


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
分页:12
转载请注明
本文标题:SQL SERVER FIX Error 1402. Could not open key: UNKNOWN\Components. System ...
本站链接:http://www.codesec.net/view/534528.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 数据库(mssql) | 评论(0) | 阅读(54)