HTML 解析错误 KB927917 IE8
我在 IE 8 中收到此错误。
但并非在所有 IE 8 中。
在某些系统中网页工作正常,有些则不然。
是不是因为某些设置的原因。
启用或禁用某些脚本会产生神奇效果吗?
如果有人经历过这个错误并解决了:)请提出建议。
I am getting this error in IE 8 .
But not in all IE 8.
In some system web page is working fine , some are not.
Is it because of some settings.
Enabling or disabling some script will do the magic?
If anyone have gone through this error and solved :) please suggest.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
你必须检查 dom 是否已加载:
我也遇到了同样的错误,我无法在所有 IE8 上重现它。但这解决了它!
You have to check if the dom is loaded:
I got the same error as well, I couldn't reproduce it on all IE8. But this solved it!
请参阅此帖子 。
这是 IE8 中的一个已知问题,Microsoft 网站帖子建议安装累积安全修复包版本 KB2360131 来解决此问题。
我在两台笔记本电脑上成功重现了此问题,并在安装此修复包后解决了该问题。我还尝试卸载此修复包,但问题再次出现。
Please refer to this thread.
This is a known issue in I.E.8 and Microsoft site posts suggests installation of Cumulative Security fix pack version KB2360131 to resolve this issue.
I successfully reproduced this issue on two laptops and was able to resolve it after installing this fix pack. I also tried to uninstall this fix pack and issue reoccurred.
您的用户可能以 IE7 兼容模式运行 IE8,如果这破坏了代码,您需要检测 document.documentMode 并为 IE7 分支修复。
要找到问题代码,请自行在兼容模式下运行并使用 IE8 调试器。
Your users may be running IE8 as IE7 compatibility mode, if that breaks the code you need to detect document.documentMode and branch a fix for IE7.
To find the problem code, run it in compatibility mode yourself and use the IE8 debugger.
该错误可能很简单,就像 HTML 代码中缺少结束标记一样。
示例代码:
rel="fancy" 在 dom 准备好后调用 fancybox。
缺少结束 span 标签会在 IE8 (8.0.6001.18702) 中触发 KB927917 错误
The error can be as simple as a missing closing tag in HTML code.
Sample code :
where rel="fancy" calls fancybox after dom ready.
The missing closing span tag triggers the KB927917 error in IE8 (8.0.6001.18702)
Sudip 解决方案更新:截至今天,安全更新 KB2936068 修复了此错误。
Update to Sudip's solution: As of today, Security Update KB2936068 fixes this error.