Search code examples
.netasp.netruntimeeventlog-source

Can I count on this ASP.NET event log source always being registered?


Unhandled exceptions cause ASP.NET-based applications to unexpectedly quit in the .NET Framework 2.0 makes me think that an event log source named with the following convention will always be registered on any box where the .NET Framework has been installed:

"ASP.NET X.Y.Z.0"

Where X, Y, and Z are the major, minor, and build numbers from the .NET runtime.

Is it safe to assume that the installation of the .NET Framework will always create this event log source?


Solution

  • This event log source is installed by ASP.NET as part of ASP.NET Health Monitoring. In particular, it is written to by the EventLogProvider.