F
Federico Sasso
hi all,
running thecode
EventLog.DeleteEventSource(source);
the following exception is fired:
"The event log source 'A_NAME' can not be deleted, because it's equal to the
log name."
that is, in fact, true, the Event Log and source have are homonymous, but
why this should make the command fail?
and, mainly, how on earth can I delete the source programmatically
(hopefully without having to remove the registry keys directly)?
please help!
-
Federico Sasso &8v>
http://www.crt.unige.it/jsSQL
The jsSQL Project - JavaScript Database and SQL Engine
running thecode
EventLog.DeleteEventSource(source);
the following exception is fired:
"The event log source 'A_NAME' can not be deleted, because it's equal to the
log name."
that is, in fact, true, the Event Log and source have are homonymous, but
why this should make the command fail?
and, mainly, how on earth can I delete the source programmatically
(hopefully without having to remove the registry keys directly)?
please help!
-
Federico Sasso &8v>
http://www.crt.unige.it/jsSQL
The jsSQL Project - JavaScript Database and SQL Engine