Visual Studio 2010 - web deploy times out - what to do?

纵然是瞬间 提交于 2020-01-02 10:22:14

问题


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?


回答1:


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



回答2:


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.



来源:https://stackoverflow.com/questions/4133485/visual-studio-2010-web-deploy-times-out-what-to-do

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!