MSDeploy一键发布无法在VS2010中运行

前端之家收集整理的这篇文章主要介绍了MSDeploy一键发布无法在VS2010中运行前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我们正在努力实现自动化部署,我真的很高兴使用MSdeploy来帮助我们实现这一目标.不幸的是,我一直没有运气让MS部署与VS2010合作,我即将放弃.

我们的Win 2008服务器位于数据中心,我按照以下方式正确设置防火墙和MS部署远程服务和IIS管理服务:
http://learn.iis.net/page.aspx/516/configure-the-web-deployment-handler/

我已经设置了IIS管理器用户并检查了所有内容,我可以想一想.如果我使用IIS远程管理,我甚至可以从我们的开发环境连接.但是当我从VS 2010发布时,我得到:

Error   1   Web deployment task Failed.(Could not connect to the destination computer ("x.x.x.x"). On the destination computer,make sure that Web Deploy is installed and that the required process ("The Web Management Service") is started.)
The requested resource does not exist,or the requested URL is incorrect.
Error details:
Could not connect to the destination computer ("x.x.x.x"). On the destination computer,make sure that Web Deploy is installed and that the required process ("The Web Management Service") is started.
The remote server returned an error: (404) Not Found.       0   0   UI

我错过了什么?请帮忙?

解决方法

如果未使用msdeploy服务的正确URL,则会弹出该错误.它应该看起来像这样:

http://x.x.x.x:80/MsDeployAgentService

:/ MsDeployAgentService是msdeploy使用的默认路径.

其他尝试:1.关闭防火墙,看看它是否有效.2.验证“Web部署服务”是否在目标服务器的Windows服务管理器中运行.

原文链接:https://www.f2er.com/c/119037.html

猜你在找的C&C++相关文章