ASP.NET Website Compatability issue on IE11

浪子不回头ぞ 提交于 2019-12-13 02:58:38

问题


I have a Website developed in ASP.NET which works fine in Chrome, Firefox browsers but not IE. It requires the Compatability to be set specifically in the browser. If we remove the compatability, the website is rendered useless.

Is there some solution to this other than putting in Meta Tags like :<meta http-equiv="X-UA-Compatible" content="IE=Edge" />


回答1:


Most likely you have mobile.browser file in /App_Browsers.

The problem is that the mobile.browser file does not have an entry for IE 11 so it doesn't know how to treat it and by default it will send the response with an application/xhtml+xml header.

Two solutions:

  1. Remove the mobile.browser file
  2. Update the mobile.browser file to a recent version that has an entry for IE 11

Here is a write-up explaining my problem: Incomplete HTML in IE 11



来源:https://stackoverflow.com/questions/21491317/asp-net-website-compatability-issue-on-ie11

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!