eventviewer

How to enumerate all the registerd sources for an EventLog

If I select to filter the "Application" log in the EventLog viewer, I can see a lot of Sources registered with the "Application" log. How could I programatically enumerate all these sources via C#? And it seems I cannot register my own evento source with "Application" and "System" log, why? BTW: The concept of "event source" is really c...

The machine-default permission settings do not grant Local Activation permission for the COM Server application

when i was trying to visit my webapplication(developed in asp.net & c#.net) in internet explorer ,i was not able to see the page. when i went event viewer the events ocurred,it was showing the error as below " The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID {B...

What's the primary use of Windows Event Viewer?

Hi all, Just wondering what everybody's opinion is on the Windows Admin tool Event Viewer? I'm writing a WCF application at the moment and have started logging errors to the windows event viewer when I handle them. I then started thinking, should I be logging more than just errors, such as when a user has logged in or out or would you ...

Windows log generator

Is there a way to generate specific Windows events? I'm currently developing a solution to get this events through WMI process, but I need all the logs Windows can generate. I know there is a way to make .net solution to write the events to the event viewer, but I don't want that. Is there a way to code or make a solution to make W...

.NET Windows 7 Deployment: Error on adding event viewer entry

My WPF application works fine on other machines. However when i deployed it on a 64-bit Win7 box it crashed when attempting to add an entry in the eventviewer. I could retrieve the following error details. Any ideas? Please help. Log Name: Application Source: Application Error Date: 10/21/2010 2:47:39 PM Event ID: ...