【发布时间】:2016-07-02 19:56:31
【问题描述】:
当尝试从 Visual Studio 2015 内部进行网络部署时,我得到以下信息:
Severity Code Description Project File Line Suppression State
Error Web deployment task failed. (Could not complete the request to remote agent URL '<mydomain>'.)
Could not complete the request to remote agent URL '<mydomain>'.
The operation has timed out App C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets 4283
这发生在我使用 Visual Studio UI 成功验证了连接之后。
我也成功发布到本地文件系统了。
它发生了一个相对较快的连接(每秒上传 1MB)。
它发生在多个连接(不同的 ISP)上。
这是在我去年使用相同的方法成功部署多次后发生的。
在创建新的最小网络应用程序并部署它时不会发生。
【问题讨论】:
-
尝试以管理员身份运行。确保您拥有所有 VS 更新。直接运行msdeploy.exe会报错吗?
标签: visual-studio timeout web-deployment msdeploy