18 lines
824 B
HTML
18 lines
824 B
HTML
|
<table class="sampleCode"><tr><td><pre>
|
||
|
<!-- Web.Config Configuration File -->
|
||
|
|
||
|
<configuration>
|
||
|
<system.web>
|
||
|
<customErrors mode="Off"/>
|
||
|
</system.web>
|
||
|
</configuration></pre> </td></tr></table><br/>
|
||
|
<p><strong>Notes:</strong> The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.</p>
|
||
|
<table class="sampleCode"><tr><td><pre>
|
||
|
<!-- Web.Config Configuration File -->
|
||
|
|
||
|
<configuration>
|
||
|
<system.web>
|
||
|
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
|
||
|
</system.web>
|
||
|
</configuration></pre></td></tr></table>
|