我正在尝试将MVC应用程序的msdeploy
设置为在命令行上运行的Windows7框。并不断收到此错误:
Error Code: ERROR_DESTINATION_NOT_REACHABLE More Information: Could not connect to the destination computer ("192.168.xxx.xxx" ). On the destination computer, make sure that Web Deploy is installed and that the required process ("The Web Management Service") is started. Error: The remote server returned an error: (404) Not Found. Error count: 1.
我已经验证了Wmsvc(似乎正在使用它)和MsDepSvc都在运行。并且防火墙被禁用。在浏览器中,当我访问https://192.168.xxx.xxx:8172/msdeploy.axd时,出现服务器错误404,似乎比命令行停止的位置还要远。
我可以在线找到的有关设置IIS7和Web部署的大多数说明适用于MS Server。我的本地计算机和Windows7计算机都安装了相同版本的Msdeploy。
最佳答案
对于非服务器操作系统(例如Windows 7),不支持通过Web管理服务进行Web部署发布。相反,您将不得不使用Remote Agent Service,这是仅管理员发布的服务。您可以在http://technet.microsoft.com/en-us/library/dd569059(v=WS.10).aspx上找到更多信息。
关于iis-7.5 - msdeploy将mvc转换为Windows7并获得ERROR_DESTINATION_NOT_REACHABLE和404,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10344093/