01.
<!-- Web.Config Configuration File -->
02.
03.
<configuration>
04.
<system.web>
05.
<customErrors mode=
"Off"
/>
06.
</system.web>
07.
</configuration>
08.
09.
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the
"defaultRedirect"
attribute of the application
10.
11.
12.
<!-- Web.Config Configuration File -->
13.
14.
<configuration>
15.
<system.web>
16.
<customErrors mode=
"RemoteOnly"
defaultRedirect=
"mycustompage.htm"
/>
17.
</system.web>
18.
</configuration>