Visual Studio 2010 - Web 部署超时 - 该怎么办?

发布于 2024-10-01 07:46:32 字数 486 浏览 6 评论 0原文

我的 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 不会返回任何有用的信息。

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

My MVC2 web project is deployed using the VS 2010 "web deploy" feature. It used to run fine but now it is timing out more often than not with this error message:

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.      

Searching for the error code 0x800704CD does not return anything helpful.

Is there a way to increase the timeout period, or should I be looking for an alternative method and forgetting about web deploy?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

雨落星ぅ辰 2024-10-08 07:46:32

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

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

I haven't answered the timeout problem (could not see any problems on the server log). But I did find a workaround:

  1. Physically copy the webdeploy.zip file to the web server.
  2. In IIS select the website, right click and choose "Deploy - Import Application ..."
  3. Select the zip file copied in #1
海螺姑娘 2024-10-08 07:46:32

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

Forget the error message. That error message is the local one. You are not interested in this - the reason it fails is that the remote host closed the connection. What you want is to see the server side logs for the server side error message. Could be a timeout, but the server side should have more information. Start with the IIS logs and event logs.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文