Skip to main content
 首页 » 编程设计

c#之Visual Studio 2010之Web 部署超时之怎么办

2024年01月12日28sky-heaven

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

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 没有返回任何有用信息。

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

请您参考如下方法:

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

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