Friday, May 18, 2007

Developers: Friendly HTTP Errors can be Unfriendly

Be sure to disable friendly http errors when developing web applications.

These "friendly" errors can mask a problem when troubleshooting. This is prevalent in ASP applications. The following app is missing a virtual directory, and the client has friendly errors turned on:

That doesn't really tell you much, does it? Now here's what we get with the option turned off:

That's a little more informative (minus the proprietary details), isn't it? Keep it unfriendly!

1 comment:

pay per head said...

Really trustworthy blog. Please keep updating with great posts like this one. I have booked marked your site and am about to email it to a few friends of mine that I know would enjoy reading..