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

In IIS 7 (.5) on my Windows Server 2008 r2, there are two places for error pages: ".NET Error Pages" under "ASP.NET" in Features View, and "Error Pages" under "IIS" in the same view.

It seems like the first does not do anything, but the latter does (in my web application).

Why are there two, and what is the difference?

share|improve this question
up vote 2 down vote accepted

.NET Error Pages are for displaying custom error pages when ASP.NET encounters an error (e.g. 404 for an .aspx page, or exception thrown while rendering an aspx page)

The Error Pages are for displaying custom error pages when IIS encounters an error (before it hands off processing a request to ASP.NET). These would be shown when a regular .html page encounters an error.

There are two different areas in web.config for controlling the custom error pages.

share|improve this answer
So, .net error pages happen when it is a server-side issue; while error pages happen when it is an html issue. Okay, then, when I create custom error pages, should I or can I point both types to the same page? – bgmCoder Jan 12 '13 at 21:01

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.