http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q306355
Can anyone point me to a simple solution? We don't want the error
codes appearing to the end-user, but obviously we want to be able to
log and e-mail them, etc.
According to what I've been reading, the way to accomplish this is to
change the "CustomErrors" mode and the 'defaultRedirect' in web.config,
rather than enclose every piece of code with "Try...Catch". Is this
correct?
Also, the C# example I cited earlier was designed for .Net 2002/2003.
1. Define a BasePage class for all your pages to inherit from. In it,
handler the Error event and process appropriately.
2. Handle the Application_Error in global.asax, and process appropriately
"Doug" <spam...@gmail.com> wrote in message
news:1150212098....@f14g2000cwb.googlegroups.com...
Thank you. Is there still a global.asax in VS2005?
Also, I found the VB.NET equivalent of the C# example I cited above:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q308132
but it, too, references global.asax, which I don't see anymore in
VS2005.
--
Patrice
"Doug" <spam...@gmail.com> a écrit dans le message de news:
1150214502.7...@c74g2000cwc.googlegroups.com...
Can you take a look at this thread and help me figure out what to do
next to implement this?
Thanks.