I have a custom ASP.NET application which is hosted in the SharePoint _layouts directory. The code uses the object model to do certain actions on a SharePoint list. I'm receiving the following error when trying to perform those actions in the
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: Access denied.
[No relevant source lines]
Source File: c:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\_layouts_ams\17ffcf63\ab8d1e9e\App_Web_createrequest.aspx.cdcab7d2.tyy2bvfv.0.cs Line: