Hi all.
Is it possible to generate the HTML page normally shown for an uncaught exception in ASP.NET, using an Exception object?
I have an app that catches an exception in Global.asax -> Application_Error, and does a Server.Transfer() to our pretty general-error page. I have an #if DEBUG flag that's pulling out the Exception from Server.GetLastError() and is currently custom formatting it.
But now I'm curious if I can get the HTML normally given, and put it in something like the link from a jQuery ThickBox overlay...
Thanks.