tag:support.appharbor.com,2010-11-23:/discussions/problems/253-iis-iusr-account-app_data-folderAppHarbor: Discussion 2011-11-29T04:22:35Ztag:support.appharbor.com,2010-11-23:Comment/57854012011-03-07T18:23:54Z2011-03-07T18:23:54ZIIS iusr account & app_data folder<div><p>That's strange. I've just confirmed that your IIS app-pool
identity has write-access to App_Data (as designed) and to the file
in question. We'll investigate further.</p></div>friismtag:support.appharbor.com,2010-11-23:Comment/57854012011-03-07T19:41:46Z2011-04-29T16:35:38ZIIS iusr account & app_data folder<div><p>Thanks Michael,<br>
If it helps, the source code for the orchard class thats blowing up
is : <a href=
"http://orchard.codeplex.com/SourceControl/changeset/view/fe55d6737a3e#src%2fOrchard%2fFileSystems%2fAppData%2fAppDataFolder.cs">
http://orchard.codeplex.com/SourceControl/changeset/view/fe55d6737a...</a></p>
<p>(method MakeDestinationFileNameAvailable(string))</p></div>Agilextag:support.appharbor.com,2010-11-23:Comment/57854012011-03-07T19:55:04Z2011-03-07T19:55:04ZIIS iusr account & app_data folder<div><p>Oho, looks like Orchard needs to delete files too. I'll look at
adding that file system right.</p>
<p>Could I get you to invite support(a)appharbor.com as a
collaborator on your project so that I can test with your exact
code?</p></div>friismtag:support.appharbor.com,2010-11-23:Comment/57854012011-03-07T20:07:35Z2011-04-29T16:35:38ZIIS iusr account & app_data folder<div><p>Done !</p></div>Agilextag:support.appharbor.com,2010-11-23:Comment/57854012011-03-08T01:11:09Z2011-03-08T01:11:09ZIIS iusr account & app_data folder<div><p>One workaround you can use right now, is to delete dll's from
the App_Data\Dependencies folder so that they won't be pushed with
the code. That means Orchard won't fail when trying to delete the
dll's (to make room for them again).</p>
<p>We'll also look at adding delete rights to the App_Data
folder.</p></div>friism