ProcessModelSection.ServerErrorMessageFile Property
.NET Framework (current version)
Gets or sets a value indicating the file whose content must be used when a fatal error occurs.
Assembly: System.Web (in System.Web.dll)
<ConfigurationPropertyAttribute("serverErrorMessageFile", DefaultValue := "")> Public Property ServerErrorMessageFile As String
The file whose content is used instead of the default Server Unavailable message.
The file location can be a relative or an absolute file path.
The following code example shows how to use the ServerErrorMessageFile property.
.NET Framework
Available since 2.0
Available since 2.0
Show: