Windows 2003 和 IIS6 上的 MSDEPLOY 访问问题
我已经为 VS 2010 中的 Web 应用程序创建了一个 Web 部署包。我尝试在 Win Serevr 2003 IIS 6 计算机上使用 msdeploy 来部署它。远程代理服务正在运行。当我运行命令(cmd 文件)时,我收到以下警告:
Warning: Access to the path 'MsDepSvc.exe' is denied. Retrying operation 'Delete' on object dirPath (\\localhost\C$\WINDOWS\TEMP\MSDEPLOY\5e16dc0d-6bfc-4398-b773-bfd8c504c0bc). Attempt 1 of 5.
我是计算机上的管理员。 IUSR、NETWORKSERVICE 和 ASPNET 可以完全控制文件夹 - C:\WINDOWS\TEMP\MSDEPLOY。我是机器的管理员。我怎样才能克服这个警告?因此部署失败。
I have created a web deployment package for a web application from VS 2010. I am trying to deploy it using msdeploy on a Win Serevr 2003 IIS 6 machine. The remote agent service is running. When I run the command (cmd file), I get the following warning:
Warning: Access to the path 'MsDepSvc.exe' is denied. Retrying operation 'Delete' on object dirPath (\\localhost\C$\WINDOWS\TEMP\MSDEPLOY\5e16dc0d-6bfc-4398-b773-bfd8c504c0bc). Attempt 1 of 5.
I am an administrator on the machine. IUSR, NETWORKSERVICE and ASPNET have full control over the folder - C:\WINDOWS\TEMP\MSDEPLOY. I am an administrator on the machine. How can I overcome this warning? The deployment is failing because of this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试使用 msdeploy 命令行工具,如下所示
iisApp 提供程序可与 IIS 6 和 7 一起使用。如果您的部署通过命令行使用上述命令工作,它可能会帮助您查明问题。
Try using the msdeploy command line tool as follows
iisApp provider can be used with both IIS 6 and 7. If your deployment works using the above command through command line, it may help you to pin point the issue.