Partilhar via


Edit ASP.NET Error Pages Settings Dialog Box

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2

Use the Edit Error Pages Settings dialog box to configure the mode and default page properties for your error pages. These settings will affect all error pages. For more information, see .NET Error Pages.

UI Element List

Element Name Description

Mode

Select a mode for the error pages: On, Off, or Remote Only.

Absolute URL

Specifies the default URL address to which to direct a browser, if an error occurs. If this attribute is not specified, you receive a generic error message instead.

The URL can be absolute or relative. An example of an absolute URL is www.contoso.com/ErrorPage.htm. A relative URL, such as /ErrorPage.htm, is relative to the Web.config file that specified the URL for this attribute, not to the Web page in which the error occurred. A URL starting with a tilde (~), such as ~/ErrorPage.htm, indicates that the specified URL is relative to the root path of the application.