“该进程无法访问...”使用 MSBuild 时

发布于 2024-12-22 19:15:14 字数 493 浏览 4 评论 0原文

我即将完成 TeamCity 设置,但被这个错误难住了:

(12/22/2011 2:30:15 PM) An error occurred when the request was processed on the remote computer.
An error was encountered when processing 'Web.zip'.
The error code was 0x80070020.
The process cannot access 'C:\Inetpub\wwwroot\Deneb\Website\obj\Deploy\Package\Web.zip' because it is being used by another process.

我尝试自己删除该文件,但没有遇到任何问题。我可以从另一台服务器部署此站点,也没有任何问题。我将 Team City 构建代理服务设置为以管理员身份运行,然后重新启动该服务。

任何帮助将不胜感激 - 谢谢!

I am so close to getting my TeamCity setup complete, but am stumped by this error:

(12/22/2011 2:30:15 PM) An error occurred when the request was processed on the remote computer.
An error was encountered when processing 'Web.zip'.
The error code was 0x80070020.
The process cannot access 'C:\Inetpub\wwwroot\Deneb\Website\obj\Deploy\Package\Web.zip' because it is being used by another process.

I tried deleting that file myself, and didn't have any problems. I am able to deploy this site from another server, also without any problems. I set the Team City build agent service to run as administrator, and restarted the service.

Any help would be greatly appreciated - thanks!

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

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

发布评论

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

评论(1

勿忘初心 2024-12-29 19:15:14

意识到结帐目录不应设置为与 Web 目录相同

Realized that the checkout directory shouldn't be set the same as the web directory

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