global.asax and global.asax.cs

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

Guest

My company has an existing web app. It was written by someone who has left.
It generates an error if authentication fails and sends an email to the email
address of the person who left. I want it to send the email to me. I have
found Global.asax and Global.asax.cs in the virtual directory. The
Global.asax says Application CodeBehind and points to Gloabl.asax.cs

The Global.asax.cs has a Application_Error method and I changed the email
address to mine, but it still sends it to the other address. What else do I
need to do?

Many thanks.
 
Assuming your re-compiled and re-deployed (moved the .dll file of your web
project to the /bin folder), you might wanna check the web.config for any
registered HttpModules which could also be hooked up.

Karl
 
Thank you everyone. A rebuild did the trick. Thought I originally did it,
maybe not. Again thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top