Author: Richard Hough | Posted on: 3/23/2006 1:48:35 AM | Views : 456

I have a Windows Service which has been running happily for months,
writing the occasional message to a private Windows event log using System.Diagnostics.EventLog.WriteEntry.
Just today, however, my service has stopped running, and the
Application event log contains the error:
Service
cannot be started. System.ComponentModel.Win32Exception: The event log
file is full.
It didn't look that full to me; a few
hundred events, certainly fewer than the Security log.
Even supposing I can't log that many events, how am I supposed
to stop the OS from stopping my service when it thinks it has enough
events? Can I tell it to overwrite old ...

Go to the complete details ...