Writing Windows Service1 Event Log?
Posted on 2006-06-30
I've reviewed and coded many attempts of Event Log writing for a service with no success.
Here's my latest code that doesn't compile error, but doesn't write the the Windows XP "Application" log eiter.
EventLog eventLog = new EventLog();
eventLog.Log = "Application";
eventLog.WriteEntry("Event Log Writing Test!", EventLogEntryType.Error);