sayedihashimi/package-web — Issue #3: SetAcl failing for App_Data
Author: sayedihashimi
Created: 2011-12-28 21:47:06+00:00
State: open

When publishing a site which has an App_Data folder with at least 1 file inside of it we are getting an error from MSDeploy. For example here is some sample output

Info: Adding sitemanifest (sitemanifest).
Info: Adding child dirPath (Default Web Site/WebApplication3_deploy\App_Data).
Info: Adding child filePath (Default Web Site/WebApplication3_deploy\App_Data\placeholder.txt).
Info: Updating filePath (Default Web Site/WebApplication3_deploy\bin\WebApplication3.dll).
Info: Updating filePath (Default Web Site/WebApplication3_deploy\bin\WebApplication3.pdb).
Info: Updating filePath (Default Web Site/WebApplication3_deploy\Web.config).
Info: Object dirPath (C:\Temp\repro\WebApplication3\obj\Debug\Package\PackageTmp\_Deploy_) skipped due to skip directive
'CommandLineSkipDirective 1'.
Info: Updating setAcl (Default Web Site/WebApplication3_deploy).
Info: Updating setAcl (Default Web Site/WebApplication3_deploy).
Info: Adding setAcl ({IIS Web Application Name}/App_Data).
Error Code: ERROR_SITE_DOES_NOT_EXIST
More Information: Site '{IIS Web Application Name}' does not exist.
Error count: 1.