Feature: 客户端工具 SDK
Status: 失败
Reason for failure: 该功能的某个依赖项出错,导致该功能的安装过程失败。
Next Step: 使用以下信息解决错误,然后再次尝试运行安装过程。
Component name: SQL Server 高级工具
Component error code: 1402
Component log file: C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20180810_222309\sql_tools_extensions_Cpu64_1.log
Error description: Could not open key: UNKNOWN\Components\6249068E1E0BE644CA9C342F18D16C52\D5A42360BB66CAF4D8B0F9CEB132F0FF. Verify that you have sufficient access to that key, or contact your support personnel.
Error help link: https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=14.0.1000.169&EvtType=sql_tools_extensions.msi%40InstallFiles%401402
1. 运行注册表: regedit
2. 定位到: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\{guid} , 具体的项按出错误日志中的。
找到这个项, 点击时会提示:“无法打开 XXX 由于某个错误无法打开该**。”, 不用怕, 按下面操作就好。
3. 赋全部的权限。
4. 重新安装。
权限的设置挺麻烦的, 如果有父项, 尽量在父项上设置,并允许继承子项的权限。