Home
%3CLINGO-SUB%20id%3D%22lingo-sub-998033%22%20slang%3D%22en-US%22%3ESQL%20Server%202019%20Installation%20Error%20-%20An%20error%20occurred%20for%20a%20dependency%20of%20the%20feature%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-998033%22%20slang%3D%22en-US%22%3E%3CP%3EAfter%20release%20of%20SQL%20Server%202019%2C%20one%20of%20our%20customer%20was%20trying%20to%20install%20SQL%20Server%202019%20and%20encountered%20an%20error%20message.%20Since%20I%20was%20able%20to%20reproduce%20the%20issue%20in%20my%20lab%2C%20I%20contacted%20SSMS%20product%20group%20and%20they%20were%20kind%20enough%20to%20fix%20this%20issue%20very%20quickly.%20As%20of%20now%2C%20this%20is%20already%20called%20out%20in%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsql%2Fsql-server%2Fsql-server-version-15-release-notes%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Erelease%20notes%3C%2FA%3E.%20The%20purpose%20of%20this%20blog%20is%20to%20show%20how%20to%20confirm%20if%20you%20are%20hitting%20the%20same%20issue.%20We%20would%20learn%20how%20to%20look%20at%20various%20log%20file%20and%20what%20are%20the%20error%20messages%20we%20need%20to%20look.%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1657021815%22%20id%3D%22toc-hId-1657053432%22%20id%3D%22toc-hId-1657053432%22%20id%3D%22toc-hId-1657053432%22%20id%3D%22toc-hId-1657053432%22%20id%3D%22toc-hId-1657053432%22%3EIssue%20Description%3A%3C%2FH3%3E%0A%3CP%3EInstallation%20of%20SQL%20Server%202019%20from%20removable%20media%20fails%20if%20SQL%20Server%20Management%20Studio%2018.3%20or%20earlier%20is%20installed.%20In%20my%20lab%2C%20I%20downloaded%20ISO%20from%20download%20center%20and%20mounted%20it.%20Here%20is%20the%20final%20screen%20shot%20showing%20installation%20failure.%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20804px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F156076iD8E18D663AC7F848%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22sql2019-setup-01.jpg%22%20title%3D%22sql2019-setup-01.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3EWhen%20we%20click%20on%20the%20hyperlink%20on%20the%20screen%2C%20it%20opens%20up%20setup%20summary%20file%20which%20has%20this%20information%20about%20failed%20component.%20(Database%20Engine%20Services)%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3E%3CFONT%20face%3D%22Consolas%22%20size%3D%223%22%3EDetailed%20results%3A%20%3CBR%20%2F%3E%26nbsp%3B%20Feature%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Database%20Engine%20Services%20%3CBR%20%2F%3E%26nbsp%3B%20Status%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Failed%20%3CBR%20%2F%3E%26nbsp%3B%20Reason%20for%20failure%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20An%20error%20occurred%20for%20a%20dependency%20of%20the%20feature%20causing%20the%20setup%20process%20for%20the%20feature%20to%20fail.%20%3CBR%20%2F%3E%26nbsp%3B%20Next%20Step%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Use%20the%20following%20information%20to%20resolve%20the%20error%2C%20and%20then%20try%20the%20setup%20process%20again.%3C%2FFONT%3E%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3ENext%20step%20is%20to%20look%20at%20%3CSTRONG%3E%3CU%3EDetail.txt%20%3C%2FU%3E%3C%2FSTRONG%3Efile%20for%20any%20hint%20about%20dependent%20feature.%20(Search%20for%20%E2%80%9Cat%20Microsoft%E2%80%9D%20keyword)%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3E%3CFONT%20face%3D%22Consolas%22%3E%3CSTRONG%3E%3CFONT%20color%3D%22%23ff0000%22%3ETarget%20package%3A%20%22E%3A%5C1033_ENU_LP%5Cx64%5Csetup%5Cx64%5Csqlncli.msi%22%20%3CBR%20%2F%3EInstallPackage%3A%20MsiInstallProduct%20returned%20the%20result%20code%201602.%3C%2FFONT%3E%3C%2FSTRONG%3E%20%3C%2FFONT%3E%3CFONT%20face%3D%22Consolas%22%3E%20%3CBR%20%2F%3ENo%20retry-able%20MSI%20return%20code%20detected.%20%3CBR%20%2F%3EExecuteActionWithRetryHelper.Failed%20actionToExecute%20is%20'Install_sqlncli_Cpu64_Action'%2C%20stack%20trace%26nbsp%3B%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.%26lt%3B%26gt%3Bc__DisplayClass2_0.%3CEXECUTEACTIONWITHRETRYHELPER%3Eb__0()%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker%20workerDelegate)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject%20metaDb%2C%20ActionKey%20action%2C%20ActionMetadata%20actionMetadata%2C%20TextWriter%20statusStream)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject%20metabase%2C%20TextWriter%20statusStream)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject%20metaDb%2C%20TextWriter%20loggingStream)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.%26lt%3B%26gt%3Bc__DisplayClass2_0.%3CEXECUTEACTIONWITHRETRYHELPER%3Eb__0()%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker%20workerDelegate)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject%20metaDb%2C%20ActionKey%20action%2C%20ActionMetadata%20actionMetadata%2C%20TextWriter%20statusStream)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject%20metabase%2C%20TextWriter%20statusStream)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject%20metaDb%2C%20TextWriter%20loggingStream)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.Workflow.RunWorkflow(WorkflowObject%20workflowObject%2C%20HandleInternalException%20exceptionHandler)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String%20actionId%2C%20TextWriter%20errorStream)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.%26lt%3B%26gt%3Bc__DisplayClass2_0.%3CEXECUTEACTIONWITHRETRYHELPER%3Eb__0()%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker%20workerDelegate)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject%20metaDb%2C%20ActionKey%20action%2C%20ActionMetadata%20actionMetadata%2C%20TextWriter%20statusStream)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject%20metabase%2C%20TextWriter%20statusStream)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject%20metaDb%2C%20TextWriter%20loggingStream)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.Workflow.RunWorkflow(WorkflowObject%20workflowObject%2C%20HandleInternalException%20exceptionHandler)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String%20actionId%2C%20TextWriter%20errorStream)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.%26lt%3B%26gt%3Bc__DisplayClass2_0.%3CEXECUTEACTIONWITHRETRYHELPER%3Eb__0()%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker%20workerDelegate)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject%20metaDb%2C%20ActionKey%20action%2C%20ActionMetadata%20actionMetadata%2C%20TextWriter%20statusStream)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject%20metabase%2C%20TextWriter%20statusStream)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject%20metaDb%2C%20TextWriter%20loggingStream)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Setup.Chainer.Workflow.Workflow.RunWorkflow(WorkflowObject%20workflowObject%2C%20HandleInternalException%20exceptionHandler)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Chainer.Setup.Setup.RunRequestedWorkflow()%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Chainer.Setup.Setup.Run(String%5B%5D%20args)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Chainer.Setup.Setup.Start(String%5B%5D%20args)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.Chainer.Setup.Setup.Main()%20%3CBR%20%2F%3E%3CSTRONG%3E%3CFONT%20color%3D%22%23ff0000%22%3EError%3A%20Action%20%22Install_sqlncli_Cpu64_Action%22%20failed%20during%20execution.%20%3CBR%20%2F%3ECompleted%20Action%3A%20Install_sqlncli_Cpu64_Action%2C%20returned%20False%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FEXECUTEACTIONWITHRETRYHELPER%3E%3C%2FEXECUTEACTIONWITHRETRYHELPER%3E%3C%2FEXECUTEACTIONWITHRETRYHELPER%3E%3C%2FEXECUTEACTIONWITHRETRYHELPER%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CFONT%20face%3D%22Consolas%22%20color%3D%22%23ff0000%22%3E%3CEM%3E%E2%80%A6Trimmed%20lines%E2%80%A6%20%3C%2FEM%3E%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20face%3D%22Consolas%22%3EMSI%20(s)%20(5C%3A3C)%20%5B06%3A42%3A01%3A134%5D%3A%20Note%3A%201%3A%201729%20%3CBR%20%2F%3EMSI%20(s)%20(5C%3A3C)%20%5B06%3A42%3A01%3A134%5D%3A%20Product%3A%20Microsoft%20SQL%20Server%202012%20Native%20Client%26nbsp%3B%20--%20Configuration%20failed.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20face%3D%22Consolas%22%3EMSI%20(s)%20(5C%3A3C)%20%5B06%3A42%3A01%3A134%5D%3A%20Windows%20Installer%20reconfigured%20the%20product.%20Product%20Name%3A%20Microsoft%20SQL%20Server%202012%20Native%20Client.%20Product%20Version%3A%2011.4.7462.6.%20Product%20Language%3A%201033.%20Manufacturer%3A%20Microsoft%20Corporation.%20Reconfiguration%20success%20or%20error%20status%3A%201602.%3C%2FFONT%3E%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3EFrom%20here%20we%20can%20see%20that%20issue%20is%20during%20installation%20of%20SQLNCLI%20(SQL%20Server%20Native%20Client)%20and%20error%20code%20is%201602.%20The%20log%20file%20associate%20is%20%3CSTRONG%3Esqlncli_Cpu64_1%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3E%3CFONT%20face%3D%22Consolas%22%3EMSI%20(s)%20(5C%3A3C)%20%5B06%3A42%3A01%3A009%5D%3A%20Note%3A%201%3A%202203%202%3A%20E%3A%5Csqlncli.msi%203%3A%20-2147287038%20%3CBR%20%2F%3E%3CFONT%20color%3D%22%23ff0000%22%3E%20MSI%20(s)%20(5C%3A3C)%20%5B06%3A42%3A01%3A009%5D%3A%20Source%20is%20incorrect.%20Unable%20to%20open%20or%20validate%20MSI%20package%20E%3A%5Csqlncli.msi.%20%3CBR%20%2F%3EMSI%20(s)%20(5C%3A3C)%20%5B06%3A42%3A01%3A009%5D%3A%20Note%3A%201%3A%202203%202%3A%20E%3A%5Csqlncli.msi%203%3A%20-2147287038%20%3CBR%20%2F%3EMSI%20(s)%20(5C%3A3C)%20%5B06%3A42%3A01%3A009%5D%3A%20Source%20is%20incorrect.%20Unable%20to%20open%20or%20validate%20MSI%20package%20E%3A%5Csqlncli.msi.%20%3CBR%20%2F%3EPlease%20insert%20the%20disk%3A%3C%2FFONT%3E%20%3CBR%20%2F%3EMSI%20(s)%20(5C%3A3C)%20%5B06%3A42%3A01%3A025%5D%3A%20Note%3A%201%3A%202265%202%3A%26nbsp%3B%203%3A%20-2147287035%20%3CBR%20%2F%3EMSI%20(s)%20(5C%3A3C)%20%5B06%3A42%3A01%3A025%5D%3A%20User%20policy%20value%20'DisableRollback'%20is%200%20%3CBR%20%2F%3EMSI%20(s)%20(5C%3A3C)%20%5B06%3A42%3A01%3A025%5D%3A%20Machine%20policy%20value%20'DisableRollback'%20is%200%20%3CBR%20%2F%3EAction%20ended%206%3A42%3A01%3A%20InstallFinalize.%20Return%20value%202.%20%3CBR%20%2F%3EMSI%20(s)%20(5C%3A3C)%20%5B06%3A42%3A01%3A025%5D%3A%20Note%3A%201%3A%202318%202%3A%3C%2FFONT%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3EThere%20we%20can%20see%20an%20interesting%20error%20%3A%20%E2%80%9CPlease%20insert%20the%20disk%E2%80%9D.%3C%2FP%3E%0A%3CP%3EIf%20we%20check%20control%20panel%2C%20I%20already%20have%20SQL%20Server%20Native%20Client%20and%20mind%20you%2C%20this%20was%20installed%20when%20I%20installed%20SSMS%2018.1.%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F156077iDDF8E42234E53636%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22sql2019-setup-02.jpg%22%20title%3D%22sql2019-setup-02.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CH3%20id%3D%22toc-hId--895135146%22%20id%3D%22toc-hId--895103529%22%20id%3D%22toc-hId--895103529%22%20id%3D%22toc-hId--895103529%22%20id%3D%22toc-hId--895103529%22%20id%3D%22toc-hId--895103529%22%3ESolution%3A%3C%2FH3%3E%0A%3CP%3EBy%20now%20you%20would%20have%20understood%20the%20reason%20of%20the%20blog.%20If%20you%20are%20seeing%20messages%20in%20various%20logs%2C%20which%20are%20shown%20above%2C%20then%20you%20can%20conclude%20that%20you%20are%20hitting%20the%20issue%20due%20to%20preinstalled%20SSMS.%20Here%20is%20the%20screenshot%20from%20the%20release%20notes.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsql%2Fsql-server%2Fsql-server-version-15-release-notes%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsql%2Fsql-server%2Fsql-server-version-15-release-notes%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20862px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F156078iCB2C7F2C5AEE7E1E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22sql2019-setup-03.jpg%22%20title%3D%22sql2019-setup-03.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3EHere%20are%20my%20additional%20notes.%3C%2FP%3E%0A%3CP%3EWe%20have%20seen%20this%20issue%20earlier%20when%20we%20have%20SSMS%2018.3%20already%20installed%20and%20SQL%202019%20setup%20is%20invoked%20from%20ISO%20mounted%20as%20drive.%20It%20was%20combination%20of%20few%20situations.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ESSMS%2018.3%20already%20installed%20%3CSTRONG%3E%3CU%3EAND%3C%2FU%3E%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3ESQL%20Server%202019%20Setup%20was%20running%20from%20a%20mounted%20ISO.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EWe%20have%20below%20workarounds%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EOn%20%3CU%3Eexisting%20machines%3C%2FU%3E%2C%20where%20SSMS%2018.3%20or%20lower%20is%20already%20installed.%3C%2FLI%3E%0A%3CUL%3E%0A%3CLI%3EUninstall%20SQL%20Server%202012%20Native%20Client%20which%20got%20installed%20with%20SSMS.%20Then%20install%20SQL%20Server%202019.%20%3CSTRONG%3E%3CU%3EOR%3C%2FU%3E%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EInstead%20of%20running%20setup%20from%20mounted%20ISO%2C%20copy%20the%20content%20of%20media%20to%20a%20local%20drive%20or%20a%20network%20share%20and%20start%20setup.exe%20from%20those%20locations.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CLI%3EOn%20%3CU%3Enew%20machines%3C%2FU%3E%2C%20where%20SSMS%20is%20NOT%20installed.%3C%2FLI%3E%0A%3CUL%3E%0A%3CLI%3EFirst%20install%20SQL%20Server%202019%20and%20then%20install%20SSMS%2018.3%20%3CSTRONG%3E%3CU%3EOR%3C%2FU%3E%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EInstall%20version%20of%20SSMS%20greater%20than%2018.3.1%20and%20then%20install%20SQL%20Server%202019%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3EI%20hope%20this%20blog%20would%20help%20someone%20find%20solution%20without%20contacting%20Microsoft%20Product%20Support%20team.%20Please%20comment%20and%20let%20me%20know.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ECheers%2C%3C%2FLI%3E%0A%3CLI%3EBalmukund%20Lakhani%3C%2FLI%3E%0A%3CLI%3ETwitter%20%3CFONT%20style%3D%22font-size%3A%209pt%3B%22%3E%3CA%20style%3D%22href%3A%20'http%3A%2F%2Ftwitter.com%2Fblakhani'%3B%22%20target%3D%22_blank%22%3E%3CFONT%20color%3D%22%230000ff%22%3E%3CU%3E%40blakhani%3C%2FU%3E%3C%2FFONT%3E%3C%2FA%3E%3C%2FFONT%3E%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-998033%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20804px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F156079i960244E40C7AACD9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22sql2019-setup-01.jpg%22%20title%3D%22sql2019-setup-01.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-998033%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Esetup%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESQL%202019%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETroubleshooting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1016110%22%20slang%3D%22en-US%22%3ERe%3A%20SQL%20Server%202019%20Installation%20Error%20-%20An%20error%20occurred%20for%20a%20dependency%20of%20the%20feature%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1016110%22%20slang%3D%22en-US%22%3E%3CP%3EI%20was%20running%20into%20the%20same%20issue%20as%20you%20were%20with%20that%20cryptic%20error%20message%20and%20really%20no%20details%20when%20you%20look%20at%20the%20log%20it%20references.%26nbsp%3B%20I%20did%20have%20SSMS%20installed%20from%20before%20(went%20from%20pre%2018%20versions%20all%20the%20way%20to%20the%20current%20one).%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThe%20solution%20that%20I%20went%20with%20was%20copying%20the%20ISO%20to%20a%20local%20drive%20and%20running%20it%20from%20there%2C%20then%20it%20worked%20without%20any%20problems.%26nbsp%3B%20I%20was%20worried%20about%20removing%20the%20SQL%20Server%202012%20Native%20Client%20to%20figure%20out%20if%20that%20broke%20anything.%26nbsp%3B%20It%20also%20works%20if%20you%20partially%20were%20able%20to%20upgrade%20certain%20parts%20of%20SQL%20Server%20(like%20the%20shared%20components)%20and%20not%20tried%20to%20roll%20it%20back%20to%20the%20prior%20version%20when%20encountering%20the%20error%20the%20first%20time.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThankfully%20your%20post%20was%20there%20to%20help%20me%20out%20when%20my%20brain%20failed%20to%20make%20the%20connection%20with%20the%20SSMS%20issue%20(since%20I%20was%20already%20running%2018.4).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1041249%22%20slang%3D%22en-US%22%3ERe%3A%20SQL%20Server%202019%20Installation%20Error%20-%20An%20error%20occurred%20for%20a%20dependency%20of%20the%20feature%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1041249%22%20slang%3D%22en-US%22%3E%3CP%3EIt's%20perfect%20-%20it's%20so%20useful%20that%20this%20must%20be%20converted%20into%20a%20KB%20article!%3C%2FP%3E%3CP%3EAlso%2C%20I%20understands%20that%20separating%20SSMS%20from%20core%20SQL%20Server%20installer%20provides%20flexibility%2C%20but%20frequent%20releases%20that%20block%20upgrades%20is%20not%20a%20good%20thing.%20Trust%20the%20SSMS%20team%20has%20taken%20a%20note%20of%20this%20and%20will%20be%20addressing%20the%20same.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1041400%22%20slang%3D%22en-US%22%3ERe%3A%20SQL%20Server%202019%20Installation%20Error%20-%20An%20error%20occurred%20for%20a%20dependency%20of%20the%20feature%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1041400%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F474350%22%20target%3D%22_blank%22%3E%40sqltwins%3C%2FA%3E%26nbsp%3B-%20Sure.%20Thanks%20for%20your%20comment.%3C%2FP%3E%3C%2FLINGO-BODY%3E

After release of SQL Server 2019, one of our customer was trying to install SQL Server 2019 and encountered an error message. Since I was able to reproduce the issue in my lab, I contacted SSMS product group and they were kind enough to fix this issue very quickly. As of now, this is already called out in the release notes. The purpose of this blog is to show how to confirm if you are hitting the same issue. We would learn how to look at various log file and what are the error messages we need to look.

Issue Description:

Installation of SQL Server 2019 from removable media fails if SQL Server Management Studio 18.3 or earlier is installed. In my lab, I downloaded ISO from download center and mounted it. Here is the final screen shot showing installation failure.

  sql2019-setup-01.jpg

When we click on the hyperlink on the screen, it opens up setup summary file which has this information about failed component. (Database Engine Services)

Detailed results:
  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.

Next step is to look at Detail.txt file for any hint about dependent feature. (Search for “at Microsoft” keyword)

Target package: "E:\1033_ENU_LP\x64\setup\x64\sqlncli.msi"
InstallPackage: MsiInstallProduct returned the result code 1602.

No retry-able MSI return code detected.
ExecuteActionWithRetryHelper.Failed actionToExecute is 'Install_sqlncli_Cpu64_Action', stack trace    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c__DisplayClass2_0.<ExecuteActionWithRetryHelper>b__0()
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject metaDb, ActionKey action, ActionMetadata actionMetadata, TextWriter statusStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c__DisplayClass2_0.<ExecuteActionWithRetryHelper>b__0()
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject metaDb, ActionKey action, ActionMetadata actionMetadata, TextWriter statusStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()
   at Microsoft.SqlServer.Setup.Chainer.Workflow.Workflow.RunWorkflow(WorkflowObject workflowObject, HandleInternalException exceptionHandler)
   at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c__DisplayClass2_0.<ExecuteActionWithRetryHelper>b__0()
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject metaDb, ActionKey action, ActionMetadata actionMetadata, TextWriter statusStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()
   at Microsoft.SqlServer.Setup.Chainer.Workflow.Workflow.RunWorkflow(WorkflowObject workflowObject, HandleInternalException exceptionHandler)
   at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c__DisplayClass2_0.<ExecuteActionWithRetryHelper>b__0()
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject metaDb, ActionKey action, ActionMetadata actionMetadata, TextWriter statusStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()
   at Microsoft.SqlServer.Setup.Chainer.Workflow.Workflow.RunWorkflow(WorkflowObject workflowObject, HandleInternalException exceptionHandler)
   at Microsoft.SqlServer.Chainer.Setup.Setup.RunRequestedWorkflow()
   at Microsoft.SqlServer.Chainer.Setup.Setup.Run(String[] args)
   at Microsoft.SqlServer.Chainer.Setup.Setup.Start(String[] args)
   at Microsoft.SqlServer.Chainer.Setup.Setup.Main()
Error: Action "Install_sqlncli_Cpu64_Action" failed during execution.
Completed Action: Install_sqlncli_Cpu64_Action, returned False

…Trimmed lines…

MSI (s) (5C:3C) [06:42:01:134]: Note: 1: 1729
MSI (s) (5C:3C) [06:42:01:134]: Product: Microsoft SQL Server 2012 Native Client  -- Configuration failed.

MSI (s) (5C:3C) [06:42:01:134]: Windows Installer reconfigured the product. Product Name: Microsoft SQL Server 2012 Native Client. Product Version: 11.4.7462.6. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success or error status: 1602.

From here we can see that issue is during installation of SQLNCLI (SQL Server Native Client) and error code is 1602. The log file associate is sqlncli_Cpu64_1

MSI (s) (5C:3C) [06:42:01:009]: Note: 1: 2203 2: E:\sqlncli.msi 3: -2147287038
MSI (s) (5C:3C) [06:42:01:009]: Source is incorrect. Unable to open or validate MSI package E:\sqlncli.msi.
MSI (s) (5C:3C) [06:42:01:009]: Note: 1: 2203 2: E:\sqlncli.msi 3: -2147287038
MSI (s) (5C:3C) [06:42:01:009]: Source is incorrect. Unable to open or validate MSI package E:\sqlncli.msi.
Please insert the disk:

MSI (s) (5C:3C) [06:42:01:025]: Note: 1: 2265 2:  3: -2147287035
MSI (s) (5C:3C) [06:42:01:025]: User policy value 'DisableRollback' is 0
MSI (s) (5C:3C) [06:42:01:025]: Machine policy value 'DisableRollback' is 0
Action ended 6:42:01: InstallFinalize. Return value 2.
MSI (s) (5C:3C) [06:42:01:025]: Note: 1: 2318 2:
 

There we can see an interesting error : “Please insert the disk”.

If we check control panel, I already have SQL Server Native Client and mind you, this was installed when I installed SSMS 18.1.

sql2019-setup-02.jpg

Solution:

By now you would have understood the reason of the blog. If you are seeing messages in various logs, which are shown above, then you can conclude that you are hitting the issue due to preinstalled SSMS. Here is the screenshot from the release notes.

https://docs.microsoft.com/en-us/sql/sql-server/sql-server-version-15-release-notes

 

sql2019-setup-03.jpg

Here are my additional notes.

We have seen this issue earlier when we have SSMS 18.3 already installed and SQL 2019 setup is invoked from ISO mounted as drive. It was combination of few situations.

  • SSMS 18.3 already installed AND
  • SQL Server 2019 Setup was running from a mounted ISO.

We have below workarounds:

  • On existing machines, where SSMS 18.3 or lower is already installed.
    • Uninstall SQL Server 2012 Native Client which got installed with SSMS. Then install SQL Server 2019. OR
    • Instead of running setup from mounted ISO, copy the content of media to a local drive or a network share and start setup.exe from those locations.
  • On new machines, where SSMS is NOT installed.
    • First install SQL Server 2019 and then install SSMS 18.3 OR
    • Install version of SSMS greater than 18.3.1 and then install SQL Server 2019

I hope this blog would help someone find solution without contacting Microsoft Product Support team. Please comment and let me know.

  • Cheers,
  • Balmukund Lakhani
  • Twitter @blakhani
4 Comments
Occasional Visitor

I was running into the same issue as you were with that cryptic error message and really no details when you look at the log it references.  I did have SSMS installed from before (went from pre 18 versions all the way to the current one).  


The solution that I went with was copying the ISO to a local drive and running it from there, then it worked without any problems.  I was worried about removing the SQL Server 2012 Native Client to figure out if that broke anything.  It also works if you partially were able to upgrade certain parts of SQL Server (like the shared components) and not tried to roll it back to the prior version when encountering the error the first time.

 

Thankfully your post was there to help me out when my brain failed to make the connection with the SSMS issue (since I was already running 18.4).

Occasional Visitor

It's perfect - it's so useful that this must be converted into a KB article!

Also, I understands that separating SSMS from core SQL Server installer provides flexibility, but frequent releases that block upgrades is not a good thing. Trust the SSMS team has taken a note of this and will be addressing the same.

@sqltwins - Sure. Thanks for your comment.

Occasional Visitor

Thank you so much!  I can't imagine how many more hours I would've spent trying to figure the error out.