J.J.Baxter - My place on the web - interests, hobbies, thoughts & ruminations
Home / Blog
Books
Links
Images
Aug Sep-2010 Oct
SMTWTFS
2930311234
567891011
12131415161718
19202122232425
262728293012
3 4 5 6 7 8 9
Reset Calendar
Snorg Girls
Programming Tips
Sherlock Holmes
Mythbusters
Gallipoli
Nova Science Now
Ajax Loading Images
The Girls of Dr. Who
Keratosis Pilaris (KP)
Amazing Water
Buy me a drink? I'll have a Cappuccino, thanks.
Random Images
Random Link
Space Papercraft Models
Random Book
The Bourne Supermacy
by Robert Ludlum






All Rights Reserved 2008
JJBaxter.com

J.J.Baxters Development Tips & Snippets
backBack
 Error 500 - Server Error - generic error message on Virtual Servers (ASP.NET : 16-Nov-2009)
A few of my clients were migrated by their ISP to Virtual Servers. One of the drawbacks was that any error generated by my Classic ASP code resulted in a very generic "Server Error 500". Not at all usefull. The ISP didnt know how to enable full error messages so I had to google myself. And let me tell you it was a long process. But finally came up with the answer. Its a new default behaviour in IIS7. To override this put the following in your web.config file. Yes, this also solves the problem for classic ASP as well as ASP.Net.

<system.webServer>
    <httpErrors existingResponse="PassThrough" />
</system.webServer>
Ref Link: http://stackoverflow.com/questions/434272/iis7-overrides-customerrors-when-setting-response-statuscode