none
安装SQL Server 2016 实例提示“无法运行安装所需的dll” RRS feed

  • 问题

  • 新安装的Windows 10 1703

    Detailed results:
      Feature:                       客户端工具连接
      Status:                        失败: 请查看日志了解详细信息
      Reason for failure:            该功能的某个依赖项出错,导致该功能的安装过程失败。
      Next Step:                     使用以下信息解决错误,然后再次尝试运行安装过程。
      Component name:                SQL Server Native Client 访问组件
      Component error code:          1723
      Component log file:            C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\20170408_205431\sqlncli_Cpu64_1.log
      Error description:             此 Windows Installer 包有问题。无法运行完成此安装所需的 DLL。请与技术支持人员或包供应商联系。
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=13.0.4001.0&EvtType=sqlncli.msi%40RollbackCleanup%401723

      Feature:                       客户端工具向后兼容性
      Status:                        失败: 请查看日志了解详细信息
      Reason for failure:            该功能的某个依赖项出错,导致该功能的安装过程失败。
      Next Step:                     使用以下信息解决错误,然后再次尝试运行安装过程。
      Component name:                SQL Server Native Client 访问组件
      Component error code:          1723
      Component log file:            C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\20170408_205431\sqlncli_Cpu64_1.log
      Error description:             此 Windows Installer 包有问题。无法运行完成此安装所需的 DLL。请与技术支持人员或包供应商联系。
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=13.0.4001.0&EvtType=sqlncli.msi%40RollbackCleanup%401723

    2017年4月9日 3:30

答案

全部回复

  • Looks like the install package you used is the cause, where did you get it? Which edition?
    2017年4月9日 16:01
  • cn_sql_server_2016_enterprise_with_service_pack_1_x64_dvd_9538279.iso

    MSDN

    2017年4月10日 0:33
  • Try download again.
    2017年4月10日 2:33
  • cn_sql_server_2016_enterprise_x64_dvd_8699450.iso

    下了个不带sp1的,报错了

    2017年4月10日 5:08
  • Hi Kenyep,

     

    首先确保使用admin并以管理员身份安装SQL Server,这个错误发生在安装进程在从注册表中寻找C:\Program Files (x86)\Microsoft Analysis Services\AS OLEDB\130\adal.dll的路径时无法访问相应键值,应该是因为上一次的安装导致注册表损坏,你可以试一下下面的方法:

     

    方法一: 打开CMD(Windows+R,输入CMD回车),输入 SECEDIT /CONFIGURE /CFG %WINDIR%\INF\DEFLTBASE.INF /DB DEFLTBASE.SDB /VERBOSE /AREAS REGKEYS,回车。

     

    方法二:使用PsExec工具(注意备份注册表)

     

    1. 关闭注册表(如果你之前打开过注册表页面就关掉,没有就跳过这一步),然后下载这个工具:https://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
    2. 以管理员身份打开一个CMD窗口,然后cd到你上面那个工具存放的路径,比如在C:\test文件夹下面,就cd C:\test
    3. 输入psexec -i -s cmd.exe回车,在打开的另一个窗口中输入regedit,回车。
    4. 然后找到HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components,然后右击,权限,把你安装SQL Server的账户添加进去。
    5. 在高级里面选择Replace all existing inheritable permissions…………,确定。

     

    Best Regards,

    Teige

     



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2017年4月10日 9:06
    版主
  • 谢谢,发现还是不行,最后重装系统可以了。
    • 已建议为答案 Angie Xu 2017年4月17日 5:30
    • 已标记为答案 Kenyep 2019年4月12日 2:42
    2017年4月11日 1:36