Hi:
I have a VB.NET web app that calls "errorpage.aspx" if an error occurs -
this is defined in the web.config file.
I would like to obtain all the information that you see when you are running
an application and it encounters problems and write this to a file while
giving the user some message that doesn't show the crash details.
I have my program setup as follows:
page_load
dim currentError as New Exception
currentError = Server.GetLastError
I am unable to obtain the values that I should be able to get:
currentError.message.tostring
currentError.tostring
Each of these causes its own crash!
This is how its done in the book - I'm obviously missing something here -
any help would be GREATLY appreciated.
Thanks,