我正在尝试使用 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 并配置网站部署用户,但是当我转到该站点并右键单击它时,我没有一个名为:部署 -> 为 Web 部署发布配置或类似的选项,我只有:
Deploy -> Export Application
Deploy -> Import Application
Deploy -> Delete Web Site and Content
Deploy -> Recycle
有任何想法吗??谢谢在一个