I use ELMAH 1.0 with ASP.NET 1.1 on SQL Server 2000 to log error for
my website.
When an error occurs, I am now sending the user to a custom error page,
but I am unable to show some of the actual errors on the custom error
page.
Following is my web.config info:
<customErrors mode="On" defaultRedirect="genericerror.aspx" />
When an error occurs for example:
"System.IO.FileNotFoundException: H:\mypage\contact.aspx"
I want this to show up on my custom error page.
I also want the HOST, Code, user, date and time to show up as well.
Any help would be appriciated.
Thanks in advance
Sam
It tells you all the obstacle with the GetLastError and Custom error
page.