Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 1 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? –  BGM Jan 12 '13 at 21:01

Your Answer

 
discard

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.