HttpResponse.TrySkipIisCustomErrors Property
Gets or sets a value that specifies whether IIS 7.0 custom errors are disabled.
Assembly: System.Web (in System.Web.dll)
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Why false by default?
Having this default to false at all seems rediculous. I mean, just how many ASP.NET sites actually use just the built in IIS error pages?
- 5/1/2012
- Evok
Very good example with explaination
A very good example is available here
http://www.west-wind.com/weblog/posts/2009/Apr/29/IIS-7-Error-Pages-taking-over-500-Errors.
- 1/2/2012
- Me.Is.Nishant