Build Failed.
“C:\src\ProjectName.sln” (default target) (1) ->
“C:\src\Website\ProjectName.csproj” (default target) (2) ->
(MSDeployPublish target) ->
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets(4377,5): msdeploy error ERROR_COULD_NOT_CONNECT_TO_REMOTESVC: Web deployment task Failed. (Could not connect to the remote computer (“ServerName”) using the specified process (“Web Management Service”) because the server did not respond. Make sure that the process (“Web Management Service”) is started on the remote computer. Learn more at: 07000)**
我检查了in the IIS.NET documentation for this error提到的所有要点。提到的两个服务,Web管理服务和Web部署代理服务都正常运行。重新启动这些服务的行为没有变化。
> Windows Server 2008 R2与IIS 7。
> Web部署代理服务正在端口8172上运行。
> Web部署3.0
> Windows防火墙不会阻止服务器上的任何端口。
如何解决?