胜利升级后的MSDeploy构建

时间:2015-06-28 19:22:53

标签: msdeploy

我正在开发人员命令提示符(Admin)中进行msdeploy,在更新到Win 8.1 Pro之后,运行命令后出现此错误。 在更新之前我没有收到此错误我收到另一个错误USER NOT ADMIN来修复此问题我必须升级所以我可以创建一个组并添加部署为Admin。 请原谅任何错误的格式化第一次计时器。

    >..\..\lib\msdeploy\msdeploy -verb:sync -source:package='Package.zip' -dest:contentPath='test.dev',computerName=localhost,userName=deploy,password=xxxx

Error: Exception has been thrown by the target of an invocation. ---> System.Exception: The type initializer for 'Microsoft.Web.Deployment.DeploymentManager' threw an exception. ---> System.Exception: The type initializer for 'Microsoft.Web.Deployment.BuiltInTypesCache' threw an exception. ---> System.Exception: The type initializer for 'Microsoft.Data.Tools.Schema.MsDeploy.MsDeployProviderBaseProviderFactory' threw an exception. ---> System.IO.IOException: Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft SQL Server\110\DAC\Bin\Microsoft.Data.Tools.Schema.Sql.dll' or one of its dependencies. Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) ---> System.Exception:Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

1 个答案:

答案 0 :(得分:0)

我相信这部分错误表明您需要安装,修复或卸载/重新安装2012版SQL Server数据工具:

System.IO.IOException: Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft SQL Server\110\DAC\Bin\Microsoft.Data.Tools.Schema.Sql.dll' or one of its dependencies.