Export (0) Print
Expand All
AutomaticFormDigestValidationBypassCollection property
BlockedViewAuditFileExtensions property
ListViewAuditEnabled property
LookupDropDownUseStandardControl property
MaxAuditLogTrimmingRetention property
PingProcessDelay property
PingTimeAvailable property
PingWarmupPage property
SharePoint2010WorkflowsEnabled property
ShowNewGroupMenuItem property
SyncPolicySettings property
TrimAuditLogEnforced property
UseLatestDatabaseSchema property
WnsConfigurationSettings property
Expand Minimize

SPWebApplication.FileNotFoundPage property

Gets or sets the name of an HTML file relative to \\Program Files\Common Files\Microsoft Shared\web server extensions\14\LAYOUTS\Locale_ID that contains the error information that is used when a file cannot be found.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public string FileNotFoundPage { get; set; }

Property value

Type: System.String
A string specifying the name of an HTML file that contains error information. If the value is a null reference (Nothing in Visual Basic) or an empty string, or if the file that is referred to does not exist, SharePoint Foundation returns a standard 404 response.

SharePoint Foundation does not support the custom error pages that are typically used in IIS applications. There can only be one file per SharePoint Web application, which must be in HTML and cannot contain dynamic ASP.NET controls.

Show:
© 2014 Microsoft