Sitecore 5.0 API

Settings.ErrorUrl Property

NOTE: This property is now obsolete.

Use ErrorPage instead. Remember to change web.config as well.


Gets the url to redirect to, if a generic error occurs.

[Visual Basic]
Public Shared ReadOnly Property ErrorUrl As String
[C#]
public static string ErrorUrl {get;}

Property Value

Default value: "/sitecore/error.aspx"

Remarks

If an error occurs during processing of an incoming request, an error message wil be shown using the page pointed to.

See Also

Settings Class | Sitecore.Configuration Namespace