Event Log
hi,
i have following code in console application:
eventlog
[] logs = eventlog.geteventlogs();foreach
(eventlog el in logs){
console.writeline(el.log); try{
el.enableraisingevents =
true;el.entrywritten +=
new entrywritteneventhandler(myonentrywritten); ///el.entrywritten += new entrywritteneventhandler(myonentrywritten);}
catch (exception e){
console.writeline("{0}, {1}", e.message, e.source);}
}
when run on 2008, following:
6
application
hardwareevents
the file size exceeds limit allowed , cannot saved, system
internet explorer
the file size exceeds limit allowed , cannot saved, system
key management service
the file size exceeds limit allowed , cannot saved, system
security
system
i couldn't understand why the exception thrown eventlogs "hardwareevents", "internet explorer",
"key management service". exception message(the file size exceeds limit allowed , cannot saved, system) means? means entrywritten event can't bind eventlog types?
i appreciate response.
thanks.
hi,
according description, issue seems related coding/development. not best support resource development, recommend further support in our msdn forum
for convenience, i've listed contact information of our msdn forum:
http://forums.microsoft.com/msdn/default.aspx?siteid=1
hope issue resolved soon.
Windows Server > Management
Comments
Post a Comment