Reputation: 2165
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?
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.
Source Error:
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.
Stack Trace:
[SecurityException: Request failed.]
Upvotes: 0
Views: 169
Reputation: 27012
Try checking SecurityException.Action and SecurityException.Method.
Upvotes: 1