Mar 15, 2009 10:35 AM|Sanjeev.Kejriwal|LINK
I have a hosting a/c with go daddy , and my one site is running fine in local but after uploading it is not working and shows some error like
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
when i tried to take help from godaddy there response was like as :
" Please note, the error you have received is an error regarding your permissions. Trust level refers to permissions set in the Web.config file that dictate what operations can and cannot be performed by Web applications. Our
shared hosting servers use the default Medium trust level with the addition of OleDbPermission, OdbcPermission, and a less-restrictive WebPermission.
Applications operating under a Medium trust level have no
registry access, no access to the Windows event log, and cannot use ReflectionPermission (but can use Reflection). Such applications can communicate only with a defined range of network addresses and file system access is limited to the application's
virtual directory hierarchy.
Using a Medium trust level prevents applications from accessing shared system resources and eliminates the potential for application interference. Adding OleDbPermission and OdbcPermission allows applications to use those data providers to access databases.
WebPermission is modified to allow outbound
http and https traffic."
I did not understand this mail . Please anybody help me how to solve this issue. how to do it ?
link of the site is www.agarwalmilan.com
Thank you very much