gwt IE浏览器 网页上有错误 找不到元素

89384099 2011-08-22

IE浏览器网页上有错误找不到元素解决办法2010-08-0316:31部分网页打不开提示网页有错误点详细提示找不到元素

今天我打开IE8,发现无法添加“搜索提供程序”,左下角提示:找不到元素修正解决方法如下:

GWTnotworkingonInternetexplorer7(IE7)giving"Elementnotfound"javascripterror

GWTwebapplicationstartedtogive"Elementnotfound"javascripterrormessageonInternetExplorer7(IE7)?ThisapplicationworkedfineonInternetExplorer6andFirefox2.Nowyourbestguesswouldbe;GWTnotworkingonIE7properly.Wasn'tit?

ButthescenariobecameconfusingandunbelievablebecauseyourapplicationworkedfineonIE7insomemachineswhilenotonsomeothers.Haveyoufacedthisissue?Thenthebelowsolutionisforyou.

Thisissuecanbefixedbyamakingachangeonwindowsregistry.

Stepstofolloware;

1.OpenuptheRegistryeditor-typeregeditoncommandprompt.

2.Lookforthekeyshownbelow

HKEY_CLASSES_ROOT\TypeLib\{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}\1.1\0\win32

3.Clickonthe"Default"rowandseethevaluethere.Ifit'svalueis"C:\WINDOWS\system32\shdocvw.dll",thenthatiswhatcausestheabovementionedissue.IfyouhaveinstalledWindowsinadifferentdrive;C:\mustbereplacedwiththethatletter.

4.Replacethatvaluewith"C:\WINDOWS\system32\ieframe.dll".

5.NowrestartIE7,andloadyourGWTapplication.

中文的意思如下:

1.打开注册表编辑器:REGEDIT.

2.找到HKEY_CLASSES_ROOT\TypeLib\{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}\1.1\0\win32

3.点击:默认。如果其值为:"C:\WINDOWS\system32\shdocvw.dll"将shdocvm.dll修改为:ieframe.dll.

4.重启IE即可。

其实他的方法是针对IE7的,有的问题差不多.

相关推荐