我试图在Windows 10企业版上安装sql server 2016标准版,它在安装时一直给我这个错误。
此Windows Installer程序包存在问题。无法运行此安装完成所需的DLL。请联系您的支持人员或软件包供应商。
摘要文件包含以下信息:
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2068052293
Start time: 2016-10-14 11:45:41
End time: 2016-10-14 11:47:08
Requested action: Install
Setup completed with required actions for features.
Troubleshooting information for those features:
Next step for SQLEngine: Use the following information to resolve the error, and then try the setup process again.
Next step for SNAC: Use the following information to resolve the error, and then try the setup process again.
Next step for SNAC_SDK: Use the following information to resolve the error, and then try the setup process again.
Machine Properties:
Machine name: DESKTOP-ARR1KHB
Machine processor count: 8
OS version: Microsoft Windows 10 Enterprise (10.0.14393)
OS service pack:
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID Feature Language Edition Version Clustered Configured
SQL Server 2016 MSSQLSERVER MSRS13.MSSQLSERVER Reporting Services - Native 1033 Standard Edition 13.0.1601.5 No Yes
SQL Server 2016 Data Quality Client 1033 Standard Edition 13.0.1601.5 No Yes
SQL Server 2016 LocalDB 1033 Express Edition 13.0.1100.286 No Yes
SQL Server 2016 Reporting Services - SharePoint 13.0.1601.5 No Yes
Package properties:
Description: Microsoft SQL Server 2016
ProductName: SQL Server 2016
Type: RTM
Version: 13
SPLevel: 0
Installation location: E:\Documents\Programs\Microsoft.SQL.Server.2016.Standard.x64\x64\setup\
Installation edition: Standard
Product Update Status:
None discovered.
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: false
AGTSVCACCOUNT: NT Service\SQLSERVERAGENT
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Manual
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: MULTIDIMENSIONAL
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: <empty>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTELSVCACCT: <empty>
ASTELSVCPASSWORD: <empty>
ASTELSVCSTARTUPTYPE: 0
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Automatic
CLTCTLRNAME: <empty>
CLTRESULTDIR: <empty>
CLTSTARTUPTYPE: 0
CLTSVCACCOUNT: <empty>
CLTSVCPASSWORD: <empty>
CLTWORKINGDIR: <empty>
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE: C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\20161014_114540\ConfigurationFile.ini
CTLRSTARTUPTYPE: 0
CTLRSVCACCOUNT: <empty>
CTLRSVCPASSWORD: <empty>
CTLRUSERS: <empty>
ENABLERANU: false
ENU: true
EXTSVCACCOUNT: <empty>
EXTSVCPASSWORD: <empty>
FEATURES: SQLENGINE
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: <empty>
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTROPENLICENSETERMS: false
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft SQL Server
INSTANCEID: MSSQLSERVER
INSTANCENAME: MSSQLSERVER
ISSVCACCOUNT: NT AUTHORITY\Network Service
ISSVCPASSWORD: <empty>
ISSVCSTARTUPTYPE: Automatic
ISTELSVCACCT: <empty>
ISTELSVCPASSWORD: <empty>
ISTELSVCSTARTUPTYPE: 0
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <empty>
MATRIXNAME: <empty>
MRCACHEDIRECTORY:
NPENABLED: 0
PBDMSSVCACCOUNT: <empty>
PBDMSSVCPASSWORD: <empty>
PBDMSSVCSTARTUPTYPE: 0
PBENGSVCACCOUNT: <empty>
PBENGSVCPASSWORD: <empty>
PBENGSVCSTARTUPTYPE: 0
PBPORTRANGE: <empty>
PBSCALEOUT: false
PID: *****
QUIET: false
QUIETSIMPLE: false
ROLE: <empty>
RSINSTALLMODE: DefaultNativeMode
RSSHPINSTALLMODE: DefaultSharePointMode
RSSVCACCOUNT: <empty>
RSSVCPASSWORD: <empty>
RSSVCSTARTUPTYPE: Automatic
SAPWD: <empty>
SECURITYMODE: <empty>
SQLBACKUPDIR: <empty>
SQLCOLLATION: Persian_100_CI_AI
SQLSVCACCOUNT: NT Service\MSSQLSERVER
SQLSVCINSTANTFILEINIT: false
SQLSVCPASSWORD: <empty>
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: DESKTOP-ARR1KHB\masoud-pc
SQLTELSVCACCT: NT Service\SQLTELEMETRY
SQLTELSVCPASSWORD: <empty>
SQLTELSVCSTARTUPTYPE: Automatic
SQLTEMPDBDIR: <empty>
SQLTEMPDBFILECOUNT: 8
SQLTEMPDBFILEGROWTH: 64
SQLTEMPDBFILESIZE: 8
SQLTEMPDBLOGDIR: <empty>
SQLTEMPDBLOGFILEGROWTH: 64
SQLTEMPDBLOGFILESIZE: 8
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SUPPRESSPRIVACYSTATEMENTNOTICE: false
TCPENABLED: 1
UIMODE: Normal
UpdateEnabled: true
UpdateSource: MU
USEMICROSOFTUPDATE: false
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\20161014_114540\ConfigurationFile.ini
Detailed results:
Feature: Database Engine Services
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, and then try the setup process again.
Component name: SQL Server Native Client Access Component
Component error code: 1723
Component log file: C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\20161014_114540\sqlncli_Cpu64_1.log
Error description: There is a problem with this Windows Installer package. A DLL required for this installation to complete could not be run. Contact your support personnel or package vendor.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=13.0.1601.5&EvtType=sqlncli.msi%40RollbackCleanup%401723
Feature: SQL Client Connectivity
Status: Failed: see logs for details
Reason for failure: An error occurred during the setup process of the feature.
Next Step: Use the following information to resolve the error, and then try the setup process again.
Component name: SQL Server Native Client Access Component
Component error code: 1723
Component log file: C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\20161014_114540\sqlncli_Cpu64_1.log
Error description: There is a problem with this Windows Installer package. A DLL required for this installation to complete could not be run. Contact your support personnel or package vendor.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=13.0.1601.5&EvtType=sqlncli.msi%40RollbackCleanup%401723
Feature: SQL Client Connectivity SDK
Status: Failed: see logs for details
Reason for failure: An error occurred during the setup process of the feature.
Next Step: Use the following information to resolve the error, and then try the setup process again.
Component name: SQL Server Native Client Access Component
Component error code: 1723
Component log file: C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\20161014_114540\sqlncli_Cpu64_1.log
Error description: There is a problem with this Windows Installer package. A DLL required for this installation to complete could not be run. Contact your support personnel or package vendor.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=13.0.1601.5&EvtType=sqlncli.msi%40RollbackCleanup%401723
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\20161014_114540\SystemConfigurationCheck_Report.htm
这是日志文件的链接: sqlncli_Cpu64_1.log 有人可以帮忙吗?
答案 0 :(得分:1)
在尝试安装SQL Server 2016时,我在几天内遇到了这个错误。最后通过从程序和功能中删除MS Visual C ++ 2010 Runtime来实现它。 SQL Server再次在安装过程中安装它。所以,我的建议是删除C ++ 2010 Runtime。此解决方案修复了SSMS发生的相同安装。 因此,请检查是否安装了MS Visual C ++ 2010 Runtime并将其卸载。
答案 1 :(得分:1)
我在Windows 10机器上遇到同样的问题,在事件查看器中检查错误日志后,我发现了以下错误的详细信息
“产品:Microsoft SQL Server 2012 Native Client - 错误1723.此Windows Installer程序包存在问题。无法运行此安装所需的DLL。请联系您的支持人员或程序包供应商。操作< strong> SNAC_SetClientSSNLDefaults_32 ,条目:SNAC_SetClientSSNLDefaults,library:C:\ WINDOWS \ Installer \ MSI4206.tmp“
在Google上进一步搜索我发现sqlncli.msi文件中32位sql本机客户端dll的条目没有指向system32文件夹中sql server native client 2012 dll的实际dll。您可以使用ORCA MSI Editor查看或修改此条目。在使用ORCA编辑器打开sqlncli.msi文件并搜索 SNAC_SetClientSSNLDefaults_32 键时,您可以看到该值可能是 $ DP_sqlncli10_dll_32 = 3 或 $ DP_sqlncli_dll_32 = 3 < / strong>或任何以前版本的本机客户端,但对于sql server native client 2012,它应该是 $ DP_sqlncli11_dll_32 = 3 。我使用ORCA编辑器在我的系统上找到的每个sqlncli.msi文件中更改并保存了该值。如果您可以使用任何搜索工具,例如所有内容,您可以在C:\ ProgramData ..文件夹和sqlncli.msi文件的安装文件夹中搜索或更好。此后,我能够成功安装SQL Server本机客户端2012而没有任何错误。
有关详细信息,请参阅此链接 Installing Microsoft SQL Server 2012 Native Client
答案 2 :(得分:0)
由于无法完全卸载sql server,并且总会有一些组件仍然存在,我只是重新安装了我的windows,这次我先安装了sql(在vs2015之前)并且问题解决了。我认为安装这种软件存在一些问题,并且有些问题存在问题。
答案 3 :(得分:0)
我尝试从2008年-> 2017年更新此问题。我必须先更新到2012 SP4,然后再更新到2017年。