Application_Error not firing
Posted on 2004-10-06
Ok this is really annoying me.
I'm emailing error's that occur on my site in Application_Error. It's worked before, even in production. I'm bugfixing it right now on my local PC and I can't for the life of me get anything in Application_Error to fire. (Using VS.net to debug) I've set breakpoints, VS.net goes right over them. On the surface, my error handling is working correctly, it even redirects me to the error page, which I've configured in web.config.
I've done all the obvious I can think of, I don't think it is a coding problem, because it has worked before. I'm not an idiot (usually), so I don't think I'm doing something stupid (I haven't done anything!). Restarted IIS, then restarted my computer. I've even tried to handle page_error, and get the same results (never called).