A
apandapion
I have an asp web client I have written that talks to a number of web
services. Currently, I have customErrors set to 'Off', so the detailed
stack dump pops up and I can find the part of my code that is borking.
The client is about to go live. In the event an exception does come up
in a live enviornment, I'd like to display to the client a simple "Damn
it, it doesn't work. Sorry." message. However, I would also like to
take the stack dump that I get with customErrors set to off, and
instead of hitting the user with it, store it in a database for later
persual.
So I want to do a pair of things I currently don't know how to do:
1) Switch to processing errors myself.
2) During that processing, programatically access the stack dump.
Can anyone suggest articles, msdn references, or even just apis for
either of these steps? The first one is easy - the second one perhaps
slightly less so.
TIA
apandapion
services. Currently, I have customErrors set to 'Off', so the detailed
stack dump pops up and I can find the part of my code that is borking.
The client is about to go live. In the event an exception does come up
in a live enviornment, I'd like to display to the client a simple "Damn
it, it doesn't work. Sorry." message. However, I would also like to
take the stack dump that I get with customErrors set to off, and
instead of hitting the user with it, store it in a database for later
persual.
So I want to do a pair of things I currently don't know how to do:
1) Switch to processing errors myself.
2) During that processing, programatically access the stack dump.
Can anyone suggest articles, msdn references, or even just apis for
either of these steps? The first one is easy - the second one perhaps
slightly less so.
TIA
apandapion