Tuesday, July 2, 2013

All kinds of SharePoint 2010 Issues – IE 9 Document Mode

 

Within our company we were facing a lot of “ strange” issues. Some people were not able to save Calendar entries, others could. Some people could not save Contact Lists, other people could. Some people could not change form entries, other people could. Some people got an error message when using a submit button, others did not. Fields within forms and lists got greyed out but not for everybody.

After checking caching, web servers (load balancing – performance), different browsers (IE mode 8, 9, 10 compat view), the issue was related to the IE document Mode setting within Internet Explorer

image

When pressing the F12 button, you get to see the below screen. Whenever the Document Mode is set on IE 9 Standards, we were facing all kinds of problems….

Above, I am using IE 10 Compat View Mode, no matter which IE mode we were using, as long as the Document Mode was on IE 9 , we had issues…

Changing the Document Mode to IE 10 or IE 8 solved the issues.

This can also be set in the Webconfig files….

 

This should force IE 8 standards mode for:

<system.webServer>

  <httpProtocol>

    <customHeaders>

      <add name="X-UA-Compatible" value="IE=8" />

    </customHeaders>

  </httpProtocol>

</system.webServer>

 

This should force IE 8 compatibility mode:

<system.webServer>

  <httpProtocol>

    <customHeaders>

      <add name="X-UA-Compatible" value="IE=EmulateIE8" >

    </customHeaders>

  </httpProtocol>

</system.webServer>

 

 

No comments:

Post a Comment