sayedihashimi / package-web

Extensions for ASP.NET web projects package creation
32 stars 18 forks source link

SetAcl failing for App_Data #3

Open sayedihashimi opened 12 years ago

sayedihashimi commented 12 years ago

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.