title: ASP.NET HTTP Error 500.19 - Internal Server Error
body: <p>I have a problem running my <code>asp.net</code> pages on <code>IIS 7</code>. When I try to run it on my local host it displays an error page:</p>
  
  <pre><code>HTTP Error 500.19 - Internal Server Error
  </code></pre>
  
  <p>The requested page cannot be accessed because the related configuration data for the page is invalid.</p>
  
  <p>I've tried most of the stuff I've found on the web like changing the file sharing<code>(\ASPNET, \IIS_IUSRS),</code> setting permission of section <code>name="handlers"</code> and <code>section name="modules"</code> to <code>"Allow"</code> (it crash my <code>IIS</code> and I get an error <code>"503 - Service unavailable"</code>). I also tried reinstalling the whole thing(<code>IIS</code> first then <code>ASP.NET</code>) and using the <code>aspnet_regiis -i</code> and still no luck.</p>
  
  <p>Any help would be much appreciated.</p>