Displaying Run-Time Errors

When a user attempts to see a page from which that user has been restricted, IIS generates an error. The CML application traps these errors caused by administrative restrictions and instead of displaying standard IIS error pages, it displays one of two custom error pages. These pages, installed into the errors folder, are called 401-123.htm and 403-6.htm. The following HTTP errors are trapped and displayed:

Error number Error Displayed in CML error page
401.1 Logon failed (user clicked Cancel in logon dialog box) 401-123.htm
401.2 Logon failed due to server configuration (directory access denied by IIS) 401-123.htm
401.3 Unauthorized due to ACL on resource (file access denied by Windows NT) 401-123.htm
403.6 IP address rejected (IP address disallowed by IIS) 403-6.htm

The 401-123.htm error page looks like this:

It is an optional administrative duty to assign custom error pages such as these to errors. First, create the HTML page that should be displayed for a given error. Then, assign it to an error that IIS generates. To do this, see Assigning Custom Error Messages.