asp.net error message

  • Thread starter Thread starter Aaron
  • Start date Start date
A

Aaron

how can i configure asp.net so that whenever an error occurs it would show a
blank page, not the default error message.

Thanks.
 
Wouldn't displaying an empty page confuse your users ?

I know I'd be scratching my head if that happened,
and then I'd go somewhere else.




Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=====================
 
put this in your web.config:

<customErrors defaultRedirect="error.htm" mode="On" />

then error.htm will be served when an error happens.

Brian.
 
Back
Top