Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

A website in Enterprise Mode is unexpectedly changed to Internet Explorer 5 Document Mode


View products that this article applies to.

Symptoms

When you open a webpage in Enterprise Mode (EM), the page is incorrectly opened in Internet Explorer 5 Document Mode.

↑ Back to the top


Cause

This issue occurs because the webpage does not have a <!DOCTYPE HTML> header, or the <!DOCTYPE HTML> header is invalid.
IEEMScreenshot

↑ Back to the top


Resolution

To fix the issue, add a valid <! DOCTYPE HTML> header to the webpage, or add a metatag to the application webpage. To do this, use either of the following methods:

  • Add the following metatag to the page:
    <meta http-equiv="X-UA-Compatible" content="IE=9” />
  • Add the same metatag from the response header to the page at the server level. To do this for Internet Explorer 11, follow these steps to add the response header to IIS:
     
    1. Log on to the server, and then open IIS.
    2. Select the website.
    3. In the IIS section in the middle pane, select HTTP Response Headers.
    4. In the details pane, select Add.
    5. Under Name, type X-UA-Compatible.
    6. Under Value, type IE=IE9 (or the appropriate document mode in the which webpage should be loaded).

↑ Back to the top


Keywords: EnterpriseMode

↑ Back to the top

Article Info
Article ID : 4021342
Revision : 5
Created on : 5/8/2017
Published on : 5/10/2017
Exists online : False
Views : 237