When trying to install the SQL Server 2019,
The installation/setup failed with the following errors:
Feature: Database Engine Services
Status: Failed
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.
Feature: SQL Client Connectivity SDK
Status: Failed
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.
In the summary file there was the following error:
Exit code (Decimal): -2068643839
In the detail.txt file the first error/failure mentioned was:
InstallPackage: MsiInstallProduct returned the result code 1602.
Slp: No retry-able MSI return code detected.
Slp: ExecuteActionWithRetryHelper.Failed actionToExecute is 'Install_sqlncli_Cpu64_Action',
stack trace at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c__DisplayClass2_0.b__0()
In my case what helped is to uninstall the SQL Server Native Client via
In the detail.txt file the first error/failure mentioned was:
InstallPackage: MsiInstallProduct returned the result code 1602.
Slp: No retry-able MSI return code detected.
Slp: ExecuteActionWithRetryHelper.Failed actionToExecute is 'Install_sqlncli_Cpu64_Action',
stack trace at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c__DisplayClass2_0.
In my case what helped is to uninstall the SQL Server Native Client via
Add/Remove Programs and reboot.
Apparently, this is documented by Microsoft
https://techcommunity.microsoft.com/t5/SQL-Server-Support/SQL-Server-2019-Installation-Error-An-error-occurred-for-a/ba-p/998033
Here how to find all the installation-related logs of SQL Server:
https://docs.microsoft.com/en-us/sql/database-engine/install-windows/view-and-read-sql-server-setup-log-files?view=sql-server-2017
Thanks for the M$ doc
ReplyDelete