Last post Apr 27, 2011 03:37 AM by smirnov
Apr 26, 2011 06:21 AM|bladde_89|LINK
am trying to insert some html into a database and it works fine on my local host but when I try it on godaddy it gives this error:
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission,mscorlib, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
then I tried to set trust level to full in the web.config but it ended up with another error that it doesn't allow overwrites.
I am using asp.net 3.5, thanks
Apr 27, 2011 03:37 AM|smirnov|LINK
GoDaddy shared hosting runs at medium trust policy by default and does not allow to switch trust policy. This means that any library that use full trust will not work on this hosting. For example, the same problem exists with MS Chart Controls.
More about trust policy at GoDaddy
Workaround for MySQL