Hello I have problem with EventLogAppender on the Windows7. Code for config EventLogAppender is:
var elAppender = new EventLogAppender
{
ApplicationName = "MyLog",
LogName = "MyLog",
Layout = new PatternLayout(default_format),
Threshold = Level.Error
};
The error message is:
The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.
Could you help me to resolve this problem? Thanks.