1

On my Windows 2008 R2 servers, every uncaught ASP.NET exception generates an event that shows in the Windows Application Eventlog.

On my Windows 2012 servers, none of them do.

Is there anything I can do, purely in configuration (not adding code to my application), to make my Windows 2012 servers show these exceptions?

EDIT: To clarify, my app does not write to the eventlog from code. The problem is that I expect when an app crashes, IIS will write to the eventlog. That's not happening.

The problem still exists to this day. I cannot depend on IIS consistently writing to the eventlog when an app crashes. I usually do get an eventlog entry when rapidfail protection kicks in and the pool is disabled. But the individual error messages that should be in the eventlog when the app crashes -- sometimes there, sometimes not.

Ross Presser
  • 6,027
  • 1
  • 34
  • 66

1 Answers1

-1

your problem is most likely permissions related. Please have a look at this thread here and mark this as answered if you are happy with the resolution

Writing to an event log in ASP.NET on Windows Server 2008 IIS7

Thanks

Community
  • 1
  • 1
Chris
  • 5,040
  • 3
  • 20
  • 24