Custom Error Display
<p>I am using this code to display the custom errors in my site. I can see the errors being displayed in my local machine. </p>

<p>But when I deploy the Same code, The errors are not being displayed.</p>

<p>It comes up with the following message:</p>

<p>The page cannot be displayed 
There is a problem with the page you are trying to reach and it cannot be displayed. </p>

<hr>

<p>Please try the following:</p>

<p>Open the sitename:2004 home page, and then look for links to the information you want. 
Click the  Refresh button, or try again later.</p>

<p>Click  Search to look for information on the Internet. 
You can also see a list of related sites. </p>

<p>HTTP 500 - Internal server error </p>

<h2>Internet Explorer</h2>

<p>The Web Config code is:</p>

<pre><code>&lt;customErrors mode="Off" defaultRedirect="GenericErrorPage.htm"&gt;
        &lt;error statusCode="403" redirect="NoAccess.htm" /&gt;
        &lt;error statusCode="404" redirect="FileNotFound.htm" /&gt;
    &lt;/customErrors&gt;
</code></pre>

<p>Could any body let me know what other setting needs to be changed to see the error message so that I can fix the problems in my code.</p>

<p>Thank you</p>

<p>Hari Gillala</p>
