title: How to fix Document mode restart in IE 9
body: <p>I have a problem with opening my website in IE9. When I try to open my site I get this error in dev tools:</p>
  
  <pre><code>HTML1113: Document mode restart from Quirks to IE9 Standards
  </code></pre>
  
  <p>I googled and found an answer that suggested to use this:</p>
  
  <pre><code>&lt;meta http-equiv="X-UA-Compatible" content="IE=edge" /&gt;
  </code></pre>
  
  <p>or </p>
  
  <pre><code>&lt;meta http-equiv="X-UA-Compatible" content="IE=IE9" /&gt;
  </code></pre>
  
  <p>...but these do not work and I get the following message this time:</p>
  
  <pre><code>HTML1115: X-UA-Compatible META tag ('IE=Edge') ignored because document mode is already finalized.
  </code></pre>
  
  <p>What is my problem? I read several articles like <a href="http://blogs.msdn.com/b/ie/archive/2010/06/16/ie-s-compatibility-features-for-site-developers.aspx?Redirected=true">IE’s Compatibility Features for Site Developers</a> by Microsoft and traced my site with <a href="http://ieblog.members.winisp.net/misc/How%20IE9%20Determines%20Document%20Mode.svg">Determining IE9’s Document Mode</a> flowchart and use all suggestions relating to <strong>!doctype</strong> on these sites but no-one could solve my problem and my IE engine reset after the page opened. </p>
  
  <p>I develop my site with ASP.NET 4 on Windows Server 2008.
  How can I fix this issue?</p>