Global.asax

  • Thread starter Thread starter Gomathi
  • Start date Start date
G

Gomathi

hi all,

I want to send mail during my application crashes.
I wrote my method in application_end event in global.asax.
Its working fine when i'm running through visualstudio.net.
When i tried by stopping my IIS server, it doesnt work.
Where i have to write my method to get fire when my application get crashes?

Thanks in advance.

Regards,
Gomathi
 
Sorry, forgot to mention that in the Application_OnError(...) method you
have to analyze inner exception it will contain data about crash.
 
Back
Top