使用Web部署发布网站时的权限问题

时间:2013-09-25 16:15:15

标签: .net iis deployment teamcity webdeploy

我正在尝试使用WebDeploy发布网站,但我收到以下错误:

08:58:43]Step 1/1: New build step (MSBuild) (1m:54s)
[08:58:45][Step 1/1] BodyLogic.build.teamcity: Build target: Deploy (1m:52s)
[08:58:45][BodyLogic.build.teamcity] Deploy (1m:52s)
[09:00:36][Deploy] CallTarget (1s)
[09:00:36][CallTarget] DeployLocal (1s)
[09:00:36][DeployLocal] Exec (1s)
[09:00:37][Exec] EXEC (9/25/2013 9:00:37 AM) An error occurred when the request was processed on the remote computer.
[09:00:37][Exec] EXEC Unable to perform the operation ("Delete File")  for the specified directory ("C:\inetpub\wwwroot\bodylogicmd.development\App_Data\Dependencies\Orchard.Alias.dll"). This can occur if the server administrator has not authorized this operation for the user credentials you are using.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER.
[09:00:37][Exec] EXEC The error code was 0x80070005.
[09:00:37][Exec] EXEC Access to the path 'C:\inetpub\wwwroot\bodylogicmd.development\App_Data\Dependencies\Orchard.Alias.dll' is denied.
[09:00:37][Exec] EXEC error count: 1.
[09:00:38][Exec] C:\TeamCity\buildAgent\work\cf80143fdcf7709\BodyLogic.build(48, 5): error MSB3073: The command "".\Tools\Microsoft Web Deploy\msdeploy.exe" -verb:sync -source:package="C:\TeamCity\buildAgent\work\cf80143fdcf7709\Build\package\BodyLogic.Orchard.zip" -dest:iisApp="bodylogicmd.development",computerName=127.0.0.1:8172" exited with code -1.
[09:00:38][BodyLogic.build.teamcity] Project BodyLogic.build.teamcity failed.
[09:00:38][Step 1/1] Step New build step (MSBuild) failed

我正在尝试访问IIS并配置网站部署用户,但是当我访问该网站并右键单击它时,我没有一个名为:Deploy - >的选项。配置Web部署发布或类似的东西,我只有:

Deploy -> Export Application
Deploy -> Import Application
Deploy -> Delete Web Site and Content
Deploy -> Recycle

任何想法?谢谢你

0 个答案:

没有答案