Author: MyronCope | Posted on: 8/30/2010 9:07:39 AM | Views : 311

Using vb.net/asp.net 2005.
in the global.asax page in the application error page I am getting the exception information as follows:
Dim CurrentException As Exception = Server.GetLastError() Dim ErrorDetails As String = CurrentException.Message.ToString & "<br><br>" & CurrentException.ToString()
To find out when there are any exceptions when users are using the system, then the ErrorDetails are being auto-emailed to members on the IT team to help in troubleshooting.
The problem is this:  I want to find out what page is the user is on when the exception happens, sometimes the stacktrace does not list the aspx page.  Does anyone know how to get this information?


thanks
MC

...

Go to the complete details ...