首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Visual Studio 2010中的Web deploy -缺少web管理服务

Visual Studio 2010中的Web deploy -缺少web管理服务
EN

Stack Overflow用户
提问于 2011-06-20 11:33:54
回答 6查看 43.1K关注 0票数 61

我正在使用IIS7.5在Windows2008 (x64)上设置一个新服务器。我已经从Web平台安装程序安装了Web Deploy 2.1。

但是服务器缺少Web管理服务,因此任何web部署都会失败,并显示以下消息:

代码语言:javascript
复制
Error   1   Web deployment task failed.(Could not complete the request to remote agent URL 'https://url:8172/MsDeploy.axd?site=Default Web Site'.)
This error indicates that you cannot connect to the server. Make sure the service URL is correct, firewall and network settings on this computer and on the server computer are configured properly, and the appropriate services have been started on the server.
Error details:
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 

我检查了服务,发现缺少必要的服务:

已安装Web部署代理服务(这是IIS6服务),但未安装Web管理服务( IIS7 deploy服务)。

我该如何解决这个问题呢?Web平台安装程序不适用于Web Deploy吗?

EN

回答 6

Stack Overflow用户

回答已采纳

发布于 2014-04-02 06:06:42

以下是截至2014年4月的当前演练:

  1. 在服务器上安装Web平台安装程序,即available as a download from Microsoft

http://www.schiffhauer.com/wp-content/uploads/2014/04/2014-04-01_14-26-18.png

  • Open Web平台安装程序,选择顶部的“产品”,搜索“管理服务”。从"IIS: Management Service“结果中单击"Add”按钮,然后单击"Install“。

http://www.schiffhauer.com/wp-content/uploads/2014/04/2014-04-01_14-34-25.png

  • Once网络管理服务已安装,请在服务控制台中找到它。将其启动类型设置为Automatic,然后启动它。

http://www.schiffhauer.com/wp-content/uploads/2014/04/2014-04-01_14-38-19.png

  • Open IIS。选择服务器节点后,在功能视图中找到“管理服务”。

http://www.schiffhauer.com/wp-content/uploads/2014/04/2014-04-01_14-44-28.png

  • Double单击[管理服务]打开该功能。如有必要,请在右侧面板中将其停止以进行编辑。选中“启用远程连接”。当您完成更改时。单击“应用”,然后单击“开始”。

http://www.schiffhauer.com/wp-content/uploads/2014/04/2014-04-01_14-48-02.png

票数 102
EN

Stack Overflow用户

发布于 2011-07-13 23:23:22

打开Web Platform Installer(WPI)并在Products下添加IIS: Management Service。

如果您不知道在哪里可以找到WPI,请转到服务器中的IIS管理器、->服务器节点、->管理部分。如果不在上面,请从http://www.microsoft.com/web/gallery/install.aspx?appid=WDeploy安装

票数 23
EN

Stack Overflow用户

发布于 2016-03-04 09:06:00

在PowerShell中:

代码语言:javascript
复制
Import-Module Servermanager
Import-Module WebAdministration
Add-WindowsFeature Web-Mgmt-Service
票数 14
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/6406590

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档