customErrors

How to see the error details in ASP.NET

The ASP.NET developer can find information about custom error messages for an ASP.NET application by setting customErrors OFF from the web.config file.

<customErrors defaultRedirect=”url”              mode=”On|Off|RemoteOnly”>     <error. . ./></customErrors>

Setting the customErrors mode=”Off ” means that custom errors are disabled. The detailed ASP.NET errors are shown to the remote clients and to the local host.

Related TutorialsData annotation support in ASP.NET 4.0
How to …

Learn more