title: display detailed error message on IIS 7.5
body: <p>I'm trying to display detailed error message on a page using web.config on my remote server on hostgator running IIS 7.5. I've tried almost everything but can't get it to work.</p>
  
  <pre><code>&lt;configuration&gt;
    &lt;system.webServer&gt;
      &lt;httpErrors errorMode="Detailed" existingResponse="PassThrough" /&gt;
    &lt;/system.webServer&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>When i preview the page i get this error.</p>
  
  <pre>
  An error occurred on the server when processing the URL. Please contact the 
  system administrator.
  
  If you are the system administrator please click here to find out more about 
  this error.
  </pre>