ERROR_SMO_NEEDED_FOR_SQL_PROVIDER while installing Sitecore 9.1 manually with no internet

Sitecore Asked by aklein on February 7, 2021

Have a question about Sitecore 9.1 installation.

I have to create the installation manually without an outgoing internet connection. This means that I have to install also all prerequisites for databases mssql msi etc. After installing all listed things in the installation the webdeploy throws errors below.

My question is which dependencies I need to download and install (and from where) to run the script successfully:

like '[WebDeploy]:[Path] C:Program FilesiisMicrosoft Web Deploy V3msdeploy.exe
Info: Adding sitemanifest (sitemanifest).
msdeploy.exe : Error Code: ERROR_SMO_NEEDED_FOR_SQL_PROVIDER
At C:Program FilesWindowsPowerShellModulesSitecoreInstallFramework2.0.0PublicTasksInvoke-CommandTask.ps1:31 char:13
+             & $Path $Arguments | Out-Default
+             ~~~~~~~~~~~~~~~~~~
   + CategoryInfo          : NotSpecified: (Error Code: ERR...OR_SQL_PROVIDER:String) [], RemoteException
   + FullyQualifiedErrorId : NativeCommandError
More Information: The SQL provider cannot run because of a missing dependency. Please make sure that Microsoft SQL Server Management Objects
(Version 10 or higher) is installed.  Learn more at:
Error count: 1.
Install-SitecoreConfiguration : Command C:Program FilesiisMicrosoft Web Deploy V3msdeploy.exe returned a non-zero exit code - (-1)
At D:script-packagesInstall91InstallationXM1-CM.ps1:90 char:2
+  Install-SitecoreConfiguration @cmParams *>&1 | Tee-Object XM1-CM.log
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
   + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration
[TIME] 00:01:00
Invoke-CommandTask : Command C:Program FilesiisMicrosoft Web Deploy V3msdeploy.exe returned a non-zero exit code - (-1)
At C:Program FilesWindowsPowerShellModulesSitecoreInstallFramework2.0.0PublicTasksInvoke-WebDeployTask.ps1:36 char:2
+     Invoke-CommandTask -Path $Path -Arguments $msdeployArgs -TaskName ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
   + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-CommandTask'

2 Answers

Just in case it may help someone - I just went past this issue, after spending the good part of the afternoon on it, by realizing that I had to install the package on the Sitecore server, and not on the database server.

I found everything I needed (and much more) in the SQL Server Feature Pack 2016 download page:

Answered by Emanuele Ciriachi on February 7, 2021

It seems SQL Shared Management Objects (SMO) was not found or the installed version is too old.. The suggested resolution by Microsoft is to download SMO using Web Platform Installer. But since you don't have access to the Internet on the server, you'll have to download the offline version.

You can find SMO included in the SQL Server 2016 Feature Pack:

Answered by TamerM on February 7, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP