title: ASP.NET SecurityException
body: <p>I get the SecurityException when posting (form) to a specific aspx page. How do I get the real error when there is no stack trace or any useful information in the exception?</p>
  
  <hr>
  
  <p><strong>Description:</strong> 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. </p>
  
  <p><strong>Exception Details:</strong> System.Security.SecurityException: Request failed.</p>
  
  <p><strong>Source Error:</strong> </p>
  
  <p>An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</p>
  
  <p><strong>Stack Trace:</strong> </p>
  
  <p>[SecurityException: Request failed.]</p>