The website that I am developing is added to the list of local intranet sites in IE browsers.
Then in compatibility view settings the check box for the "display intranet sites in Compatibility View" is checked.
Problem, the site that I am developing right now is displayed as compatibility view in IE browsers (For very obvious reason).
What I need to do, is to find a way not to display the site in compatibility view.
What I tried so far is adding the below header but to no avail.
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
and
<httpProtocol>
<customHeaders>
<clear />
<add name="X-UA-Compatible" value="IE=edge" />
</customHeaders>
</httpProtocol>
Removing the said IE browser settings is not an option since there are 300,000 computers to modify around the world (Lucky for me).
Question, Is there a way we can override this settings so that my site will not render in compatibility mode?
Click Security Page, right-click Intranet Sites: Include all local (intranet) sites not listed in other zones, and then click Properties. Click Enabled, and then click OK. Right-click Turn on automatic detection of the intranet, and then click Properties. Click Disabled, and then click OK.
Open Internet Explorer, select the Tools button , and then select Internet options. Select the Security tab, choose one of the security zone icons (Local intranet, Trusted sites, or Restricted sites), and then select Sites. You can add sites to the zone you chose, or delete sites that you no longer want in this zone.
There is another thread which has a similar solution to your second one as the answer, but with a little bit extra
For IIS, just add the below code to the web.config. Worked for me with IE9.
<system.webServer> <httpProtocol> <customHeaders> <clear /> <add name="X-UA-Compatible" value="IE=edge" /> </customHeaders> </httpProtocol> </system.webServer>
Override intranet compatibility mode IE8
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With