On my development machine, I had installed Sitecore 9.0.2
months ago and now, for POC purposes, I am trying to install the second instance of Sitecore 9.0.2
. While doing that I am facing a strange issue, where-in SQL execution is failing whilst creating marketing automation DB. Here is complete stack trace (snippet from the SIF log file): How can it be solved?
> msdeploy.exe : Error Code: ERROR_SQL_EXECUTION_FAILURE At C:\Program > Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Tasks\Invoke-CommandTask.ps1:31 > char:13 > + & $Path $Arguments | Out-Default > + ~~~~~~~~~~~~~~~~~~ > + CategoryInfo : NotSpecified: (Error Code: ERROR_SQL_EXECUTION_FAILURE:String) [], RemoteException > + FullyQualifiedErrorId : NativeCommandError msdeploy.exe : Error Code: ERROR_SQL_EXECUTION_FAILURE At C:\Program > Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Tasks\Invoke-CommandTask.ps1:31 > char:13 > + & $Path $Arguments | Out-Default > + ~~~~~~~~~~~~~~~~~~ > + CategoryInfo : NotSpecified: (Error Code: ERROR_SQL_EXECUTION_FAILURE:String) [], RemoteException > + FullyQualifiedErrorId : NativeCommandError > > More Information: An error occurred during execution of the database > script. The error occurred between the following lines of the script: > "12" and "16". The verbose log might have more information about the > error. The command started with the following: More Information: An > error occurred during execution of the database script. The error > occurred between the following lines of the script: "12" and "16". The > verbose log might have more information about the error. The command > started with the following: > > "EXEC sp_addrolemember 'db_datareader', [marketin" Execution Timeout > Expired. The timeout period elapsed prior to completion of the > operation or the server is not responding. > http://go.microsoft.com/fwlink/?LinkId=178587 Learn more at: > http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SQL_EXECUTION_FAILURE. > "EXEC sp_addrolemember 'db_datareader', [marketin" Execution Timeout > Expired. The timeout period elapsed prior to completion of the > operation or the server is not responding. > http://go.microsoft.com/fwlink/?LinkId=178587 Learn more at: > http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SQL_EXECUTION_FAILURE. > > Error: Execution Timeout Expired. The timeout period elapsed prior to > completion of the operation or the server is not responding. Error: > Execution Timeout Expired. The timeout period elapsed prior to > completion of the operation or the server is not responding. > > Error: The wait operation timed out Error: The wait operation timed > out > > Error count: 1. Error count: 1. > > ********************** Command start time: 20180918054113 > ********************** PS>TerminatingError(Invoke-CommandTask): "The running command stopped because the preference variable > "ErrorActionPreference" or common parameter is set to Stop: Command > C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a > non-zero exit code - (-1)" > >> TerminatingError(Invoke-CommandTask): "The running command stopped because the preference variable "ErrorActionPreference" or common > parameter is set to Stop: Command C:\Program Files\iis\Microsoft Web > Deploy V3\msdeploy.exe returned a non-zero exit code - (-1)" > >> TerminatingError(Invoke-CommandTask): "The running command stopped because the preference variable "ErrorActionPreference" or common > parameter is set to Stop: Command C:\Program Files\iis\Microsoft Web > Deploy V3\msdeploy.exe returned a non-zero exit code - (-1)" > Install-SitecoreConfiguration : Command C:\Program Files\iis\Microsoft > Web Deploy V3\msdeploy.exe returned a non-zero exit code - (-1) At > D:\Sitecore SCG\Sitecore91XP\install_sitecore.ps1:50 char:1 > + Install-SitecoreConfiguration @xconnectParams > + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException > + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration > Install-SitecoreConfiguration : Command C:\Program Files\iis\Microsoft > Web Deploy V3\msdeploy.exe returned a non-zero exit code - (-1) At > D:\Sitecore SCG\Sitecore91XP\install_sitecore.ps1:50 char:1 > + Install-SitecoreConfiguration @xconnectParams > + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException > + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration