【问题标题】:Visual Studio 2010 - web deploy times out - what to do?Visual Studio 2010 - Web 部署超时 - 怎么办?
【发布时间】:2010-11-09 12:12:24
【问题描述】:

我的 MVC2 Web 项目是使用 VS 2010 的“Web 部署”功能部署的。它曾经运行良好,但现在它经常超时并出现此错误消息:

Web deployment task failed.((10/11/2010 1:01:59 a.m.) An error occurred
when the request was processed on the remote computer.)

(10/11/2010 1:01:59 a.m.) An error occurred when the request was processed on the remote 
computer.     The remote host closed the connection. The error code is 0x800704CD.      

搜索错误代码 0x800704CD 不会返回任何有用的信息。

有没有办法增加超时时间,还是我应该寻找替代方法而忘记网络部署?

【问题讨论】:

    标签: c# visual-studio-2010 asp.net-mvc-2 web-deployment-project


    【解决方案1】:

    我还没有回答超时问题(在服务器日志上看不到任何问题)。但我确实找到了解决方法:

    1. 将 webdeploy.zip 文件物理复制到 Web 服务器。
    2. 在 IIS 中选择网站,右键单击并选择“部署 - 导入应用程序...”
    3. 选择 #1 中复制的 zip 文件

    【讨论】:

      【解决方案2】:

      忘记错误信息。该错误消息是本地错误消息。您对此不感兴趣 - 它失败的原因是远程主机关闭了连接。您想要的是查看服务器端错误消息的服务器端日志。可能是超时,但服务器端应该有更多信息。从 IIS 日志和事件日志开始。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2023-03-06
        • 2013-05-26
        • 1970-01-01
        • 2011-09-18
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多