1) Elmah does any redirects, so you yourself handle the error pages in web.config (this can be done here )
2) You must. Elmah is for reporting unhandled exceptions. You can log processed exceptions as follows:
try { ..... } catch(Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); }
3) Good article on Scott Hanselmanβs blog: ELMAH: Error logging modules and handlers for ASP.NET (and MVC too!)
source share