Hi, I'm trying to get information for unhandled errors at the
application level. As shown below, using CurrentException.Message,
.InnerException, Stack Trace, etc., I create a string to get the
following, but cannot find a way to get the aspx page or line the error
originated from. Any ideas appreciated.
Thanks, Kat
Global: Error Msg: Exception of type System.Web.HttpUnhandledException
was thrown.
Inner Exc: Object reference not set to an instance of an object.
Type: System.Web.HttpUnhandledException
User: kburke
Stack Trace: at System.Web.UI.Page.HandleError(Exception e) at
System.Web.UI.Page.ProcessRequestMain() at
System.Web.UI.Page.ProcessRequest() at
System.Web.UI.Page.ProcessRequest(HttpContext context) at
System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication+IExecutio
nStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionS tep
step, Boolean& completedSynchronously); User:
*** Sent via Developersdex http://www.developersdex.com ***