Search code examples
asp.netfile-uploadfile-permissions

File Upload Permission denied Godaddy Shared hosting


I have a web application on godaddy shared hosting. Its a asp.net application. Everything working fine but when I upload some file it gives an error "Access to the path 'PATH' is denied."

I tried several ways like giving full permission to the folder in which I am uploading the file from godaddy control panel.

I also saw this post and tried to follow he said : http://forums.asp.net/t/1052417.aspx/1

But no help.

Can anyone suggest me whats wrong there. Its under IIS 7.


Solution

  • Follow this: Source - 2

    “Setting Directory Permissions with Windows Hosting Accounts”

    http://support.godaddy.com/help/article/6481

    You should ask your hosting provider for access permissions if it doesn't solve your problem.

    Ref: Removing Web Access to Directories on a Windows Hosting Account

    Removing the "Anonymous Access" IIS Setting for that directory. The result of removing this permission is that you can only access that directory from with your hosting account or via FTP. You will not be able to access the directory through any Web browser, regardless of whether you are knowledgeable of the hosting account user name and password.