ASP.NET Tutorial/Configuration/customErrors
Версия от 18:30, 26 мая 2010; (обсуждение)
Custom Error Messages
<source lang="csharp">
<?xml version="1.0" encoding="utf-8" ?> <configuration>
<system.web> <customErrors mode="On" defaultRedirect="Default.aspx" /> </system.web>
</configuration></source>
Disable custom errors
<source lang="csharp">
File: Web.Config <configuration>
<system.web> <customErrors mode="Off" /> </system.web>
</configuration></source>