I have a website running 4 years ago on a client of mine. The site was developed in VB.Net, and Locaweb migrated its servers from Windows 2003 to 2008 and consequently changed the Trust Level from Full to Medium and the following error appeared in the site that I do not know how to solve.
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089' failed.
How do I upgrade this component to work in Medium Trust? Remembering that Locaweb does not allow me to change the Trust level via web.config
. Thank you.