<%@ Page language="c#" Codebehind="Default.aspx.cs" AutoEventWireup="false" Inherits="AspNetResources.CustomErrors3._Default" %> Default

To see custom error pages

  1. request a page that doesn't exist, eg: test.aspx, or
  2. uncomment the code in Page_OnLoad and let it throw an exception