我正在使用IIS7.5在Windows2008 (x64)上设置一个新服务器。我已经从Web平台安装程序安装了Web Deploy 2.1。
但是服务器缺少Web管理服务,因此任何web部署都会失败,并显示以下消息:
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吗?
发布于 2014-04-02 06:06:42
以下是截至2014年4月的当前演练:
http://www.schiffhauer.com/wp-content/uploads/2014/04/2014-04-01_14-26-18.png
http://www.schiffhauer.com/wp-content/uploads/2014/04/2014-04-01_14-34-25.png
http://www.schiffhauer.com/wp-content/uploads/2014/04/2014-04-01_14-38-19.png
http://www.schiffhauer.com/wp-content/uploads/2014/04/2014-04-01_14-44-28.png
http://www.schiffhauer.com/wp-content/uploads/2014/04/2014-04-01_14-48-02.png
发布于 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安装
发布于 2016-03-04 09:06:00
在PowerShell中:
Import-Module Servermanager
Import-Module WebAdministration
Add-WindowsFeature Web-Mgmt-Servicehttps://stackoverflow.com/questions/6406590
复制相似问题