Did you know: How IIS 6.0 handles Custom Errors when aspnet_isapi.dll is mapped as a wildcard extension?

by vivek 3/23/2010 12:21:34 AM
Sometime back I came across a very good question on ServerFault and I thought of doing some research to understand how IIS handles Custom Errors setting when all requests are passed through aspnet_isapi.dll. Here is a brief background: Scenario 1: We have a Wildcard mapping configured for aspnet_isapi.dll with “Verify that file exists” unchecked. We also have Custom Errors configured for 404. We have configured it as a URL and the path is /404/. Remember the path 404 does not exists in ww... [More]


Did you know: Enable Custom Error (Language Specific Error Pages) in IIS 7 / 7.5 - Part 5

by vivek 12/31/2009 3:36:00 PM
I thought I missed a small but can be a very useful feature in Error Pages in IIS 7 / 7.5. You can now configure language specific error pages in IIS. So say I want to show 404 – Not Found error in French for users with French server language. Click on the Web Site (Default Web Site in our case) In Features View, double click on Error Pages Click  Add…, under Status code: type 404 Click "Insert content from static file into the error response", and select the check ... [More]


Did you know: Enable Custom Error (.NET Error Pages) in IIS 7.5 - Part 4

by Vivek 12/23/2009 2:21:00 PM
In all my previous Custom Error posts Part 1, Part 2 and Part 3, I have configured a static file (.htm) for custom error. You can also configure a .asp or .aspx page for custom error. But remember you will see the custom error page for .htm or .asp pages only. Example, www.dotnetscraps.com/blah.htm or www.dotnetscraps.com/blah.asp will show the custom page but www.dotnetscraps.com/blah.aspx will still show the detailed error message. Today we will configure .net dynamic pages to show custom erro... [More]


Did you know: Enable Custom Error in IIS 7 / 7.5 - Part 1

by Vivek 12/20/2009 4:34:00 PM
You create a custom error page when you don’t want a regular user to see the actual error message. You can always see a detailed error message when you browse the page locally on the server. There are three ways how you can set custom error page in IIS 7 / 7.5, today we will look at how to set a static file in the error response. In IIS 6.0 Right click on Web Site (Default Web Site in our case) and click on Properties Under Custom Errors tab, click on the error page you ... [More]


Search


Tags



Categories

Calendar

<<  September 2010  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

View posts in large calendar

All Items
Sign in

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2010, Rahul Soni

Powered by BlogEngine.NET 1.4.5.0