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.
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)?
Thanks.
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.
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.
Right click if you love your PC!
Marked as answer by vinneyk on Apr 24, 2012 06:07 AM
vinneyk
3 Posts
MSDeploy error: library not found DbSqlPackage
Apr 13, 2012 05:53 PM|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.
Vinney
ms deploy
Lloydz
2335 Posts
Microsoft
Re: MSDeploy error: library not found DbSqlPackage
Apr 16, 2012 02:18 AM|LINK
Hi,
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)?
Thanks.
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.
vinneyk
3 Posts
Re: MSDeploy error: library not found DbSqlPackage
Apr 24, 2012 06:07 AM|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.