
Custom 500 error page - trapping the error text?
If you're using IIS 5, then have a bash at this:
http://support.microsoft.com/support/kb/articles/Q224/0/70.asp
Looks like you'd just need to add in the emailing part which'd be simple
enough.
Quote:
> I would like to be emailed whenever our site generates a 500 error. Can
this
> be done using a custom 500 error page in IIS?
> The problem is I don't know how to actually capture the text of the
> error message, i.e. the error text that is written into the log file.
> Can this be captured using one of the server or session objects, which
> I could then flow into an email template?
> Any alternate solutions are equally welcome...
> Thanks,
> John