Global Error handling Asp.net VB 2.0 via web.config

Joined
Nov 14, 2006
Messages
2
Reaction score
0
I would like to use a global error handler via the web config file.
Setting the error page is easy but I seem to be having issues catching the error in my customized page.

Here is the offending line:
Dim ex As Exception = Server.GetLastError().GetBaseException()


Once I get the exception and know how to read the items I am clear on what I want to do (email it)

Tx for any help
 

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

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top