CurrentException - source page?

K

KatB

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.HttpApplication+IExecutio
nStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep
step, Boolean& completedSynchronously); User:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top