>SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.] > System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly) +706 > System.Diagnostics.EventLog.SourceExists(String source, String machineName) +101 > System.Diagnostics.EventLog.VerifyAndCreateSource(String sourceName, String currentMachineName) +69 > System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData) +211 > System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type) +14 >I implemented logging in my app a couple of years ago. I do not recollect having to Create an event source. However, the EventLog.Source Property documentation implies that you need to call EventLog.CreateEventSource to add your source. See the Remarks section in EventLog.Source Property.