Home All Groups Group Topic Archive Search About

EventLog.Exists() method fails

Author
20 Jun 2006 3:44 PM
mail
I'm writing a component to log messages to the event log of windows but
I found something strange. When I use the method

EventLog.Exists()

to check if there's a event log with the specified name, sometimes the
function return true even if the log doesn't exist! Then, when I try to
write a new entry to the log, an exception is raised. Do you know if in
the 1.1 version of the framework could be present an error like this?

Thank you

Cold

AddThis Social Bookmark Button