System.Exception

Dim objError As New System.Exception

objError = Server.GetLastError()

how can I get the line# of the error ?

objError.Line ?
testn1Asked:
Who is Participating?
 
ptakjaCommented:
ObjError.StackTrace

Although you would have to parse it to get the line number in the top-most routine in the stack.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.