ASP.NET Web窗体应用程序默认为IE11的文档模式5 [英] ASP.NET Web Forms application defaulting to document mode 5 for IE11
问题描述
我们的ASP.NET Web窗体应用程序存在问题,默认为IE11的文档模式5。我们尝试将X-UA-Compatible放在ASPX页面和HTTP标头(iis7.5)中的元标记中。
这适用于开发和测试服务器,但不适用于生产。
无论我们的Meta标签还是HTTP标头,生产仍然会达到5。
We are having issues with our ASP.NET Web Forms application defaulting to document mode 5 for IE11. We tried putting X-UA-Compatible in meta tags in the ASPX pages and in the HTTP Header (iis7.5). This works on development and test server, but not production. Production still goes to 5 regardless of our Meta tags or HTTP Header.
有没有人对如何解决此问题有任何建议?
Does anyone have any suggestion on how to troubleshoot this?
谢谢,
推荐答案
比尔毛瑟,
>>这适用于开发和测试服务器,但不适用于生产。
>>This works on development and test server, but not production.
您在生产机器中使用了哪种浏览器?
Which browser did you use in your production machine?
>>有没有人对如何解决此问题有任何建议?
>>Does anyone have any suggestion on how to troubleshoot this?
您可以按F12键查看http消息。 比较测试 服务器
生产机器之间的差异。
You could press F12 key to see the http message. Compare the difference between test server the production machine.
最好的问候,
李旺
Best Regards,
Li Wang
这篇关于ASP.NET Web窗体应用程序默认为IE11的文档模式5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!