1

When I create an entry in the Application event log with source "ASP.NET 2.0.50727.0" and Event ID 0, the following text is added to the top of the entry's text:

The description for Event ID 1310 from source ASP.NET 2.0.50727.0 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

Where do I learn what event IDs can be found? Put another way, where do I learn what event IDs I'm allowed to use?

lance
  • 16,092
  • 19
  • 77
  • 136
  • I use this event source when I need to write to the log and have no other source registered. – lance Nov 19 '10 at 23:07

1 Answers1

1

Maybe the Event code can help you.

Also some codes are here: http://i.msdn.microsoft.com/Ff650306.f01paght00001601(en-us,PandP.10).gif

Aristos
  • 66,005
  • 16
  • 114
  • 150
  • Thank you. I tried using WebEventCodes.WebErrorConfigurationError in my WriteEntry() call, but I got text similar to that in the question. I don't want to have to guess about this. I want to know which event IDs will work. – lance Nov 22 '10 at 14:17