Per un progetto sviluppato in Framework .NET (dalla versione 4.0 in su) può capitare di inciampare nell’errore:

Server Error in ‘/’ Application.
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application’s trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request failed

La soluzione è più semplice di quanto sembra. Basta rimuovere il seguente node presente nel web.config:



  1. Having read this I thought it was really enlightening. I appreciate you finding the time and effort to put this article together. I once again find myself spending a lot of time both reading and commenting. But so what, it was still worthwhile!|


Please enter your comment!
Please enter your name here