Author: Bryan Thomson | Posted on: 11/5/2008 6:00:34 AM | Views : 452

Hi guys,

I've been getting the following error, i don't suppose anyone can help?

The following error occurs every time i try to write to the event log, and i'm convinced it's related to my security role, but i'm unsure of how to fix the problem. Anyone have any ideas? 

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: The source was not found, but some or all event logs could not be searched.  Inaccessible logs: Security.

Source File: c:\My ***\Applications\Sharepoint Learning Kit\Downloaded (1.3.2)\Source Code\Samples\BasicWebPlayer\App_Code\PageHelper.cs    Line: Go to the complete details ...