当前位置:文档之家› IE 浏览器网页上“找不到元素”错误的解决办法

IE 浏览器网页上“找不到元素”错误的解决办法

IE浏览器网页上“找不到元素”错误的解决办法
使用IE7浏览器网页左下角出现“找不到元素”的错误。

1.解决方法1:重置IE
在IE页面“工具”中找到Internet选项,在高级选项卡中点击“重置”按钮,勾选“删除个性化设置”之后重置IE。

关闭IE页面之后重新打开IE,查看问题是否得到解决。

如果问题仍然存在,也可以尝试下面的方法。

2.解决方法2:修改注册表
英文解决方法说明:
GWT not working on Internet explorer 7 (IE7) giving "Element not found" javascript error
GWT web application started to give "Element not found" javascript error message on Internet Explorer 7 (IE7)? This application worked fine on Internet Explorer 6 and Firefox 2. Now your best guess would be; GWT not working on IE 7 properly. Wasn't it?
But the scenario became confusing and unbelievable because your application worked fine on IE7 in some machines while not on some others. Have you faced this issue? Then the below solution is for you.
This issue can be fixed by a making a change on windows registry.
Steps to follow are;
1. Open up the Registry editor - type regedit on command prompt.
2. Look for the key shown below
HKEY_CLASSES_ROOT\TypeLib\{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}\1.1\0\win32
3. Click on the "Default" row and see the value there. If it's value is "C:\WINDOWS\system32\shdocvw.dll", then that is what causes the above mentioned issue. If you have installed Windows in a different drive; C:\ must be replaced with the that letter.
4. Replace that value with "C:\WINDOWS\system32\ieframe.dll".
5. Now restart IE7, and load your GWT application.
翻译成中文的意思如下:
1)打开注册表编辑器,在运行里输入regedit
2)找到这个位置:
HKEY_CLASSES_ROOT\TypeLib\{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}\1.1\0\win32 3)打开Default键值,如果其值为“C:\WINDOWS\system32\shdocvw.dll”(不包含双引号),则将
shdocvm.dll修改为:ieframe.dll,即把上述的值改为“C:\WINDOWS\system32\ieframe.dll”(不包含双引号)即可。

4)关闭IE所有窗口,再重新打开IE。

相关主题