The source code if available for the error that occurred. The code will include the 5 surrounding lines before and after.

Source code is available only in Debug mode and if the source files are available on the server. Some errors that occur inside of the .Net runtime itself or in ASP.Net pages also do not show the error.

public string SourceCode { get; set; }

See also:

Class WebErrorHandler

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic