I'm trying to upload a file to a path in my web application and I get this error: I've run into this error before when working on dedicated hosting and I would just have to right click the folder and grant write permission a IUsr account and all would be well. But I'm using a shared hosting here, so I'm kind of stuck. Where do I set write permissions for my folder? How do I fix this to allow people to write to a folder within my application?
I see the folder has the appropriate permissions to be able to upload, and I do see you have a file called categoria.png uploaded already. I would recommend naming the file something else, and possibly making sure your application is running full trust also. If you're still having this issue, let us know.
I'm still having the problem. Can't figure out why it does work on my local machine but not online. I checked the permissions through Filezilla and it says the directory has full permission. My trust level is also set to 'Full'. What else do I have to verify in order to make sure everything is setup properly for uploading files? Best regards, Andy
What's the error message you're getting? Did you deploy your site using Web Matrix or Web Deploy by any chance?
What was the solution for this problem? I've got an OData service set up that requires to read a file I've uploaded, but at the moment I'm getting System.UnauthorizedAccessException when trying to read from the file. The file has been chmod'd to 777 and I've got Full Trust in my web.config. What else do I need to do? How do I grant permission to the App pool's user, to access my file?