尝试部署网站时MSDeploy Error_Connection_Terminated [英] MSDeploy Error_Connection_Terminated while trying to deploy website

查看:214
本文介绍了尝试部署网站时MSDeploy Error_Connection_Terminated的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试使用MSDeploy从开发人员命令提示符将站点部署到我的localhost时,我一直收到错误Error_Connection_Terminated,并且我在绳索的尽头试图弄清楚导致它的原因,错误非常模糊至于问题究竟是什么。我已正确设置部署文件夹的权限,并且已在服务窗口中多次重新启动Web部署代理服务。我已经在网上发布了许多解决方案,但没有用,因为他们都没有处理使用开发人员命令提示符而只是通过使用visual studio本身提供解决方案。

I have been getting the error "Error_Connection_Terminated" when trying to deploy a site to my localhost from the developer command prompt using MSDeploy and I am at the end of my rope trying to figure out whats causing it, the error is pretty ambiguous as to what the problem actually is. I've set privileges for the deploy folder correctly and I have restarted the Web Deployment Agent Service numerous times in the services window. I have gone over many solution's already posted on the net but to no avail as none of them deal with using the developer command prompt and instead only offer solution's by using visual studio itself.

任何有MSDeploy或IIS经验的人都能解决这个问题或建议如何解决这个问题。

Would anyone with experience with MSDeploy or IIS, be able to shed some light or advise on how to solve this.

错误状态Error_Connection_Terminated错误:发生了意外的文件结束。以下元素未关闭:结果。第1行,第550位。
错误计数:1。

the error states "Error_Connection_Terminated Error: Unexpected end of file has occurred. The following elements are not closed: results. Line 1, position 550. Error count: 1."

推荐答案

我遇到了同样的问题,并且在关闭 Fiddler <之后能够成功部署/我在运行MSDeploy的机器上。

I had the same problem and was able to successfully deploy after closing Fiddler on the machine on which I was running MSDeploy.

这适用于 Marcello的调查结果 - 我认为他让Fiddler打开并且在他重新启动时关闭它。

This would fit with Marcello's findings - I assume that he had Fiddler open and that he closed it when he rebooted.

这篇关于尝试部署网站时MSDeploy Error_Connection_Terminated的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆