Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

IIS 7.5 on Windows 2008 R2 x64, Classic mode. In ASP.NET 3.5 apps, IIS is concatenating the default error pages (e.g. inetpub\custerr\en-US\500.htm) with my own custom error pages (as defined in web.config, section customErrors). It first displays the default one, then my custom page, in the same response.

Obviously, I only want my own custom error pages to show up. How do I prevent IIS from using the default pages? How is it even possible that the two pages are mixed?

share|improve this question

I solved a similar problem with:

    <httpErrors existingResponse="PassThrough" />
share|improve this answer
tried, didn't work :( – Mauricio Scheffer Oct 25 '11 at 12:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.