global.asax and global.asax.cs

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.
 
K

Karl Seguin

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
 
G

Guest

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

Similar Threads

Global.asax / Global.asax.cs in v2 6
Global.asax.cs and unittests 3
Global.asax 1
Global.asax 1
where is global.asax.cs ? 4
Global.asax and CodeFile 2
Parse Error in Global.asax 0
Error trapping in global.asax 2

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top