FileUpload Permissions
In GoDaddy web hosting, the permission in all the files in the website are defaulted to Read Access.
If ever your site has FileUpload controls, you might encounter this kind of error:
Request for the permission of type System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
You need to change the Permission of the folders of your files to Read and Write Access, so it will be allowed to upload the files in your site.
No comments:
Post a Comment