Not easily, and definitly NOT in a production application.

You talk of compiled code here. Line numbers and code references are not
part of the compiled code when making an optimised build.


Regards

Thomas Tomiczek
THONA Consulting Ltd.
(Microsoft MVP C#/.NET)



-----Original Message-----
From: C, Langlois [mailto:[EMAIL PROTECTED]] 
Sent: Donnerstag, 18. April 2002 17:03
To: [EMAIL PROTECTED]
Subject: [DOTNET] The error page of ASPNET


Hi,

i am writing a centralize error handler in a httpmodule. I need to
gather some informations in order to log that information in the event
log.

I would like to have the same informations that the error page of aspnet
gave me. I was able to gather almost everything i need except the source
error part that show the lines of code (vb or c#) where the error occur.
Is there a way to have access to this information? How the error page of
aspnet is generated? I would love to have all the information the error
page gave me and put it in the event log.

Thanks

Chris

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to