Description:I am getting following error during installation of sitecore 9 update 2,
Error Code: ERROR_DACFX_NEEDED_FOR_SQL_PROVIDER
More Information: The SQL provider cannot run with dacpac option because of a missing dependency. Please make sure that
DacFx is installed. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DACFX_NEEDED_FOR_SQL_PROVIDER.
Install-SitecoreConfiguration : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero
exit code - (-1)
At C:\resourcefiles\install.ps1:49 char:1
+ Install-SitecoreConfiguration @xconnectParams -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration
[TIME] 00:00:18
Invoke-CommandTask : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero exit code -
(-1)
At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Tasks\Invoke-WebDeployTask.ps1:36
char:2
+ Invoke-CommandTask -Path $Path -Arguments $msdeployArgs -TaskName ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-CommandTask
Posted by: Sam Smith | Posted on: Oct 24, 2019
5
1
Replied by: Muddassir Pasta | Replied on: Oct 15, 2020
We need to install both x64 and x86 , for the purpose you can goto that link and click on "click here to download manually" where you can check and download both("EN\x64\DacFramework.msi", "EN\x86\DacFramework.msi") and install both .msi files, thats it try runing your script again that should work.
Replied by: Tabish Usman | Replied on: Oct 28, 2019