title: httperrors in web.config
body: <p>I am trying to use simple html page when 503 service unavilable error comes.</p>
  
  <p>I am using below in web.config's system.webservers</p>
  
  <pre><code>&lt;httpErrors errorMode="Custom"&gt;
    &lt;remove statuscode="503" substatuscode="-1"&gt;
    &lt;error statuscode="503" responseMode="File" path="Views/Shared/IISError.htm"&gt;
  &lt;/httpErrors&gt;
  </code></pre>
  
  <p>This is nt working. I am still getting IIS default page when I stop my application.</p>
  
  <p>I am using mvc3, razor application.</p>