Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. IIS changing the IE11 document mode from 11 (Default) to 7 (Default) when browsing to a site

IIS changing the IE11 document mode from 11 (Default) to 7 (Default) when browsing to a site

Scheduled Pinned Locked Moved ASP.NET
questioncsharpjavascriptwindows-adminhelp
5 Posts 2 Posters 16 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Stephen Holdorf
    wrote on last edited by
    #1

    I have an ASP .NET application that requires Document Mode to default to IE11. I have set the computer local IE11 browser to default to document mode IE11. The problem I have is when I deploy my ASP .NET site to IIS and browse to the site the Document Mode gets changes back to IE7 Default. Because of this my JavaScript does not work. How do I set the IE11 Document mode to IE11 default when I browse to the site and not change it back to IE7 default?

    Richard DeemingR 1 Reply Last reply
    0
    • S Stephen Holdorf

      I have an ASP .NET application that requires Document Mode to default to IE11. I have set the computer local IE11 browser to default to document mode IE11. The problem I have is when I deploy my ASP .NET site to IIS and browse to the site the Document Mode gets changes back to IE7 Default. Because of this my JavaScript does not work. How do I set the IE11 Document mode to IE11 default when I browse to the site and not change it back to IE7 default?

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      Several suggestions in this SO thread: html - Internet Explorer 11 disable "display intranet sites in compatibility view" via meta tag not working - Stack Overflow[^] Assuming you've deployed to a server on your local intranet, you probably have the "Display intranet sites in Compatibility View" option enabled. The question is, why are you still using Internet Explorer, when even Microsoft are telling you not to[^]?


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      S 1 Reply Last reply
      0
      • Richard DeemingR Richard Deeming

        Several suggestions in this SO thread: html - Internet Explorer 11 disable "display intranet sites in compatibility view" via meta tag not working - Stack Overflow[^] Assuming you've deployed to a server on your local intranet, you probably have the "Display intranet sites in Compatibility View" option enabled. The question is, why are you still using Internet Explorer, when even Microsoft are telling you not to[^]?


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        S Offline
        S Offline
        Stephen Holdorf
        wrote on last edited by
        #3

        I have turned off the "Display intranet sites compatibility view" so when I open the browser without browsing it remains on IE11 as default. It's only when I browse my website does it change.

        Richard DeemingR 1 Reply Last reply
        0
        • S Stephen Holdorf

          I have turned off the "Display intranet sites compatibility view" so when I open the browser without browsing it remains on IE11 as default. It's only when I browse my website does it change.

          Richard DeemingR Offline
          Richard DeemingR Offline
          Richard Deeming
          wrote on last edited by
          #4

          Are you seeing the "compatibility view" button in the address bar? Try clearing your browser history. Internet Explorer 11 Compatibility View debacle - Microsoft Community[^]


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

          S 1 Reply Last reply
          0
          • Richard DeemingR Richard Deeming

            Are you seeing the "compatibility view" button in the address bar? Try clearing your browser history. Internet Explorer 11 Compatibility View debacle - Microsoft Community[^]


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            S Offline
            S Offline
            Stephen Holdorf
            wrote on last edited by
            #5

            I don't see a 'compatibility view' button across the address bar.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups