When I attempt to execute an msdeploy command, I get the following message:
Error Code: ERROR_PROVIDER_NOT_FOUND
More Information: The provider 'dbSqlPackage' could not be found. Learn more at
:
http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_PROVIDER_NOT_FOUND.
Unfortunately, that link doesn’t provide any relevant information to this particular error.
My command is working on another machine, so I am fairly confident that it is properly constructed.
"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:dbSqlPackage='\\Drop\Location\Library.dacpac',Profile='\\Drop\Location\Publish\Library.Development_2.publish.xml' -dest:dbSqlPackage='Data Source=MYTARGETSERVER\SQLEXPRESS; Database=Library;',computerName='MYTARGETSERVER',Action=Publish
So here is my use case:
As a deployment engineer, I want to use msdeploy to publish a dacpac with an accompanying profile to a remote database with the required sqlcmd variables. Publication shall occur from a server that does not have Visual Studio (2010 or 2012) installed.
So here are the bugs that I see so far:
1. dbDacFx is unable to publish sqlcmd variables, so must use dbSqlPackage provider instead.
2. The dbSqlPackage provider will become deprecated in favor of dbDacFx (which is currently incapable of passing sqlcmd variables).
3. Installation of dbSqlPackage provider is mysterious (sorry, can't be more specific yet, but I know that it has been successfully deployed on one machine and unsuccessful on another).
4. The link "http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_PROVIDER_NOT_FOUND" provides no information on this error.
Has anyone been able to get this use case working?