Application_Error not firing

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi there,

I have an odd situation. I have exception handling set up in my
Application_Error event handler in my global.asax. On my development box,
errors get caught by the event handler fine and redirect the user to an error
page manually...I know about the defaultRedirect but I'm just not using it.
Now when I try to recreate an error on my production box, I get the standard
asp.net error page with the big yellow bar accross the top telling me what
error just occured, but it doesn't hit the Application_Error event.

the web.config files are identical except for a different smtp server.

Should I be looking for some discrepencies between the two applications in
IIS? The production box application uses the DefaultAppPool. One other
difference is that on my development box my application is a virtual
directory whereas on the production box it is a sub directory set up as an
application.

I'm going back to bangin my head against the wall now. Thanks in advance.
 
Was wondering if you had resolved this problem yet. My App appears not to be
running the Global.asax file on the production server and I have to hard code
the Database connection string within my code (for now), until I can find out
what the problem is. It works fine in development (as usual)...
 
Back
Top