M
Mr. X.
Problem with eventViewer :
I see the sample on http://support.microsoft.com/kb/307024
When I do with the same parameters as above :
if (!(EventLog.SourceExists(sSource)))
{
EventLog.CreateEventSource(sSource, sLog);
}
I got an exception :
{"The source was not found, but some or all event logs could not be
searched. Inaccessible logs: Security."} System.SystemException
{System.Security.SecurityException}
Thanks![Smile :) :)](/styles/default/custom/smilies/smile.gif)
I see the sample on http://support.microsoft.com/kb/307024
When I do with the same parameters as above :
if (!(EventLog.SourceExists(sSource)))
{
EventLog.CreateEventSource(sSource, sLog);
}
I got an exception :
{"The source was not found, but some or all event logs could not be
searched. Inaccessible logs: Security."} System.SystemException
{System.Security.SecurityException}
Thanks
![Smile :) :)](/styles/default/custom/smilies/smile.gif)