title: static HTML site on Azure; 500.19 error; configuration section 'customerrors' cannot be read be read...missing a section declaration
body: <p>I have inherited the occasional duties for updating my agency website. The website is a very basic, static HTML site that runs on Azure. Only gets updated with new PDF documents. A few weeks ago I got notified by some security people wanting the website to NOT display a yellow screen of death and instead only show a generic 500 status page. The yellow screen of death says that the web.config file can be modified to do this. OK, fine by me. </p>
  
  <p>After looking it appears I don't have a web.config file so I created one but when I copy it via FTP to my Azure account it immediately kills the website. After looking in the error logs in Azure I see that there is a "500.19 error; configuration section 'customerrors' cannot be read be read...missing a section declaration".</p>
  
  <p>Here is my web.config file:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
  &lt;system.web&gt;
  &lt;customerrors mode="off" /&gt;
  &lt;/system.web&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Any ideas on what is going on? Thanks!</p>