user496949
user496949

Reputation: 86165

is there any log for unhandled exceptions throwed by ASP.net applications

As title. I noticed that IIS will return 500 error, but is there any other log in the IIS side?

Upvotes: 0

Views: 86

Answers (4)

David
David

Reputation: 73594

You can always use Health Monitoring. It is flexible, and provided out-of-the box. You just need to configure it.

http://www.asp.net/hosting/tutorials/logging-error-details-with-asp-net-health-monitoring-cs

Upvotes: 0

ddrace
ddrace

Reputation: 717

You can also enable Failed Request Tracing. Example and instructions here.

Upvotes: 1

mwgriffith
mwgriffith

Reputation: 550

Asp.net will also post an error to the application event log, but your better off using elmah or some other way of handling the exceptions.

Upvotes: 3

muek
muek

Reputation: 1080

check this one, ELMAH: Error Logging Modules and Handlers.

Upvotes: 4

Related Questions