Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

Write access to file system

Hi;

I have successfully deployed my Asp .Net MVC 3 application but the "upload file" functionality returns an IO error; which i guess a write access issue.

I have cheked the Allow write-access to file system property under Settings and did a fresh deploy, but no chances. Has anyone any ideas to point me for further action?

Thank you.

  1. Placing the files in App_Data works whether that setting is enabled or not. Where on the filesystem are you trying to write? Please be aware that files written are not persisted across multiple instances that your app might be running on, and are wiped on each deploy.

  2. Thank you Michael, i will try your suggestion right now.

    I had configured an /uploads folder to the root. But App_Data seems much more relavent

    BTW, is the App_Data also wiped out during every deploy iterations?

  3. App_Data is wiped too -- yes. We really recommend persisting to S3 or similar, it's really very little work.

  4. friism closed this discussion on 08 Jul, 2011 07:56 PM.

  5. devoxe re-opened this discussion on 08 Jul, 2011 08:18 PM

  6. Thanks Michael;

    Altough changing the write folder to App_Data did still not worked, i will
    investigate about external storage services as you adviced.

    I have cheked the App Harbor AddOns and i guess there is no need for an
    extra settings here in the Harbor, am i right?

    On Fri, Jul 8, 2011 at 10:59 PM, Michael Friis <
    [email blocked]> wrote:

  7. Hi Devrim,

    See this topic and read my answer. You will find how to programatically upload a file to Amazon S3.

    Fell free to ask for help about this, I currently use this solution.

  8. Hi balexandre;

    Thank you for the link.

    After a quick search i have found that comparision (tough seems a litle old)
    and i think i will check each of them an decide on one of them.

    [10-online-storage-apis/]http://blog.programmableweb.com/2007/11/26/10-online-storage-apis/

    I will close my Discussion resolved with these notes.

    Regards.

    On Fri, Jul 8, 2011 at 11:23 PM, balexandre <
    [email blocked]> wrote:

  9. devoxe closed this discussion on 08 Jul, 2011 08:36 PM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac