I am using the web.config customError and when an error occurs the website defaultRedirect goes to an error page with a pretty message.
How do I print the error message on the error page after the pretty message.
<customErrors mode="Off" redirectMode="ResponseRedirect" defaultRedirect="ErrorPage.aspx" />
...
Go to the complete details ...