Thursday, 24 April 2014

Security Exception: The application attempted to perform an operation not allowed by the security policy

Security Exception: The application attempted to perform an operation not allowed by the security policy
Error: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.
1.Open IIS
2.Select the web application which u r getting error
3.Click on .Net Trust levels from right pane
4.Select the Trust Level to Medium
5.Click on Apply