Visual Studio 2010 Web部署任务失败 [英] Visual Studio 2010 Web deployment task failed

查看:218
本文介绍了Visual Studio 2010 Web部署任务失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用VS2010的1-Click发布功能将测试站点从笔记本电脑部署到服务器.我在两台计算机上都关闭了防火墙,并且在笔记本电脑和服务器上都启动了MS部署服务,并且该服务正在运行.

I am trying to use VS2010's 1-Click Publish feature to deploy a test site from my laptop to my server. I have the firewall turned off on both machines and the MS Deployment Service is up and running on both my laptop and the server.

但是,当我尝试在笔记本电脑上从VS2010发布时,出现以下错误:

However, when I try and publish from VS2010 on my laptop I get the following error:

错误1 Web部署任务失败.(远程代理(URL https://192.168 .1.181/:8172/msdeploy.axd?site = LocationsTest ).确保目标计算机上已安装并启动了远程代理服务.)
请求的资源不存在,或者请求的URL不正确.
错误详细信息:
远程代理(URL https://192.168.1.181/:8172/msdeploy.axd?site = LocationsTest )无法联系.确保在目标计算机上安装并启动了远程代理服务.
收到不支持的回复.响应标头'MSDeploy.Response'为'',但应为'v1'.
远程服务器返回错误:(404)找不到. 0 0 Test.Web

Error 1 Web deployment task failed.(Remote agent (URL https://192.168.1.181/:8172/msdeploy.axd?site=LocationsTest) could not be contacted. Make sure the remote agent service is installed and started on the target computer.)
The requested resource does not exist, or the requested URL is incorrect.
Error details:
Remote agent (URL https://192.168.1.181/:8172/msdeploy.axd?site=LocationsTest) could not be contacted. Make sure the remote agent service is installed and started on the target computer.
An unsupported response was received. The response header 'MSDeploy.Response' was '' but 'v1' was expected.
The remote server returned an error: (404) Not Found. 0 0 Test.Web

你知道我在做什么错吗?

Any idea what I am doing wrong here?

推荐答案

请确保将WMSvc服务(Web管理服务)设置为自动"(并启动),以便在重新启动&查看此链接

Make sure you have the WMSvc Service (Web Management Service) set to 'Auto' (and started) so it's on when you restart & check out this link

这篇关于Visual Studio 2010 Web部署任务失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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