Re: Server.GetLastError()
Look at the properties of the exception named SOURCE, MESSAGE, STACKTRACE.
Re: Server.GetLastError()
I have. They don't give me what I need.
Re: Server.GetLastError()
Sorry, I haven't been able to find anything for this. It seems like the line-of-code that's erroring out is something that the framework keeps to itself, for security purposes? :confused:
Re: Server.GetLastError()
Re: Server.GetLastError()
One thing to make sure of:
Did you compile the Application to DEBUG and no RELEASE? Lines of code are not available in release compiles. Also, make sure that the PDB file got uploaded. This is the debug trace hook file.
All that said, it is entirely possible it will not keep the line number around because you have to execute this code (Server.GetLastError()) AFTER the page exception occurs and is thrown, which has probably cleared the exception stack already.