Jamey,
Thanks a lot! This is exactly what I was looking for.
Leo R.
"Jamey McElveen" <ja*************************@acstechnologies.com > wrote in
message news:%2******************@TK2MSFTNGP10.phx.gbl...
Try using the Application_Error method in Global.asax.cs
Example:
protected void Application_Error(Object sender, EventArgs e){
Exception lastException = Server.GetLastError();
// do something with lastException
}
Jamey...
"Leo R" <no****@newsgroups.com> wrote in message
news:u8**************@TK2MSFTNGP09.phx.gbl...
Hi al,
An error is thrown in a certain aspx-page; let's say page1.aspx. As a
result of the Web.config seting for errors the user is redirected to error.aspx
because of the (unhandled) error in page1.aspx. I want to process the
stacktrace of the error that was thrown in the page1.aspx or any other
page in my webapplication in the page 'error.aspx'. How can I do that?
Leo R.