Top "Event-log" questions

An event log is a file used to record a timeline of events along with contextual metadata

System.Security.SecurityException when writing to Event Log

I’m working on trying to port an ASP.NET app from Server 2003 (and IIS6) to Server 2008 (IIS7). When I …

asp.net windows iis-7 exception-handling event-log
How to create Windows EventLog source from command line?

I'm creating an ASP.NET application that will log some stuff to Windows EventLog. To do this an event source …

windows command-line event-log
Write to Windows Application Event Log

Is there a way to write to this event log: Or at least, some other Windows default log, where I …

c# .net windows logging event-log
The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security

I am getting error: The source was not found, but some or all event logs could not be searched. Inaccessible …

c# iis event-log iis-8
The source was not found, but some or all event logs could not be searched

I am getting the following exception. I have given full control to Asp.net account on Eventlogs in Registry edit. […

c# .net windows-7 event-log securityexception
Description for event id from source cannot be found

When I write a log into windows event log, I get the event below, what's the root cause of this …

.net windows event-log
c# writing to the event viewer

I'm trying to write to the event viewer in my c# code, but I'm getting the wonderful "Object reference not …

c# event-log
EventLog write permissions

My question is related to write permissions to the Windows Event Log. I have looked around several posts concering this, …

c# .net service windows-services event-log
What do I need to change to allow my IIS7 ASP.Net 3.5 application to create an event source and log events to Windows EventLog?

ASP.Net 3.5 running under IIS 7 doesn't seem to allow this out of the box. if (!EventLog.SourceExists("MyAppLog")) EventLog.CreateEventSource("…

asp.net .net-3.5 iis-7 permissions event-log