Click here to Skip to main content
15,906,558 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All,
I have developed a custom error page that is displayed when a page crashes on my website and then send an email to tech support using the web config file. So far it been pretty simply. I am looking for some guidance as to how to get the info off the page. Like the stack trace info or even just the webpage name itself that caused the crash to incorporate into the email from the code behind in C#. So at least I know where to look instead of trying to track down Server logs if they even exist... I am working with asp.net in C# and am a novice.

Thanks
Posted
Updated 22-Aug-10 14:08pm
v2

1 solution

hello,

Try the Server.GetLastError() method.

Rich Custom Error Handling with ASP.NET[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900