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 for the OData web application. What else do I need to do? How do I grant permission for the App pool's user, to access my file? "Access to the path 'E:\web\goatieco\files\gebco_08.nc' is denied."
Your application pool identity already has full read/write rights to your account. The permissions were modified by Web Deploy, so I have reset them. Please review these links to prevent this from happening again in the future: http://support.Winhost.com/KB/a890/acl-was-altered-after-using-vs-web-deploy.aspx http://blog.Winhost.com/how-to-stop-web-deploymsbuild-from-skewing-server-permissions/
If any one else has problems after they have web deployed and notice that you can't upload a file or you're getting an error "Access Denied" error in your web application. Please contact our support department so they can reset your ACL permissions for your hosting account.