Web Deployment Tool (MS Deploy)
MSDeploy error: library not found DbSqlPackage
Last post Apr 24, 2012 02:07 AM by vinneyk
Apr 13, 2012 01:53 PM|vinneyk|LINK
Heads up: I'm a total MSDeploy noob. In fact, this is my first attempt at creating a msbuild script and I'm only recently started looking into msdeploy.
Now that that's out of the way, I'm writing a build script to compile and package my ASP.Net webforms application. The script can compile the solution, however, I'm getting the following error when attempting to package:
Microsoft.Web.Deployment.DeploymentException: The library 'Microsoft.Data.Tools.Schema.DbSqlPackage, Version=10.3.0.0, ...' could not be loaded.
I've searched the web but I can't seem to find any instances of this issue (specific to the missing DbSqlPackage.dll). I assume this has something to do with the ability to package and deploy databases referenced in the solution. I am not trying to include
any databases and I would be happy if there is a switch that I can set to bypass the error all together. However, if anyone knows how to FIX and not just avoid the issue, that would be preferred.
Thanks in advance.
Apr 15, 2012 10:18 PM|Lloydz|LINK
Have you tried reinstall web deploy to see if this does a quick fix? If the issue persist, could you please provide the detailed deploy settings(Including the commands or the build files)?
Edit: Vinney, since I haven't received any response from you, I considered you have solved this issue. I will close this thread. If your issue persists, please unmark the answer and do follow up in this thread.
Apr 24, 2012 02:07 AM|vinneyk|LINK
Sorry for the delayed response LLoydz. I was able to resolve the error by uninstalling "Web Deploy dbSqlPackage Provider". Once I uninstalled this program, the build/packageing completed.