Click here to Skip to main content
15,913,773 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How the design of site be fine on moving from IIS 6 to IIS 7 without compatibility view enabled in web.config for entire webiste in IIS 7 server? IE 11 version is used in both servers(IIS 6 and IIS 7)

In web.config we added this in IIS 6 and it worked.

<<pre lang="xml">?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<clear />
<add name="X-UA-Compatible" value="IE=EmulateIE6quot; />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>


But in IIS 7 it isn't working.
Posted
Updated 18-Dec-13 19:55pm
v4
Comments
navin ks 19-Dec-13 2:10am    
add meta tag in masterpage like this

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

or something similar to this in google search
thrisha1 19-Dec-13 2:22am    
I want it in web.config. Here we aren't using master page. Instead usercontrols for header and footer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900