
July 1st, 2009, 03:54 PM
|
 |
I do .NET for a living
|
|
Join Date: Sep 2003
Location: Florida
|
|
Quote: | Originally Posted by xrum hi,
i have a custom error page, which is what gets displayed when something goes wrong.
its an .asp file which i am unable to get the full source from.
one of the lines is :Error Page:
is it possible to display the page on which the error has occurred on the custom error page?
Thanks! |
I usually do these calls on the page that is erroring while creating a new instance of a custom error object, but I suppose you could still get the info once on your error page.
Server.GetLastError.Message()
Server.GetLastError.Source()
Server.GetLastError.StackTrace()
__________________
Roger (.NET MCP)
|