title: ASP.NET Ignores IE7 Compatibility Mode Tag in Web.config
body: <p>I have the following section in my Web.config file   </p>
  
  <pre><code>&lt;system.webServer&gt;
      &lt;!-- For now..... lets be safe and put IE8 in IE7 compatibility mode--&gt;
      &lt;httpProtocol&gt;
        &lt;customHeaders&gt;
          &lt;clear /&gt;
          &lt;add name="X-UA-Compatible" value="IE=EmulateIE7" /&gt;
        &lt;/customHeaders&gt;
      &lt;/httpProtocol&gt;
  &lt;/system.webServer&gt;
  </code></pre>
  
  <p>but the</p>
  
  <pre><code>&lt;meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/&gt;
  </code></pre>
  
  <p>is not present in the header of the pages when they are rendered on my site. I followed the advice in this post <a href="https://stackoverflow.com/questions/713581/asp-net-app-set-ie7-compatibility-mode">ASP.NET App - Set IE7-Compatibility Mode?</a> but it does not appear to be working as expected using IE8 and IIS6. Any hints?</p>