iis-7.5 - msdeploy将mvc转换为Windows7并获得ERROR_DESTINATION_NOT_REACHABLE和404

标签 iis-7.5 windows-7-x64 msdeploy

我正在尝试将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/

相关文章:

delphi - 在 Windows 7 64 位上运行的 Delphi 6 中找不到代码资源管理器窗口。如何取回?

asp.net - msbuild 只部署而不构建

msbuild - 如何使用 MSDeploy 配置应用程序池

asp.net-mvc - 编译 MVC 和预编译 View 并部署到 Azure WebRole

caching - IIS7 是否缓存视频(mp4/wmv)文件?

windows - 如何从第三个批处理调用两个批处理?

c++ - D3D11CreateDeviceAndSwapChain 未解析的外部

c# - 通过禁用匿名身份验证来解决 WCF REST 服务问题

c# - 通过 Microsoft.Web.Administration 使用用户名/密码创建 AppPool

version-control - 让 IIS 网站进入版本控制