How to update hosted ASP.NET site in Locaweb

3

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.

    
asked by anonymous 21.05.2015 / 00:18

1 answer

0

The response from LocaWeb support was that they opened an exception and I have 10 days to change. By the way AspEmail will not work anymore but I have not been told which components will work. I am migrating to system.net.mail. You have an example on their page even in link .

    
23.06.2015 / 21:17