Troubleshooting the failure of IE Javascript scripts

Source: Internet
Author: User

This article describes how to solve the failure of IE Javascript scripts. Of course, the failure of scripts is also important. Sometimes, all the pages are corrupted, and all the pictures and texts are displayed incorrectly, in fact, it is easy to find and solve the problem if it is so bad.

Solution to failure of IE Javascript script

Of course, the failure of the script is also important. Sometimes all the pages are corrupted, and all the pictures and texts are displayed incorrectly. In fact, the bad ones are so thorough, but they are easy to find and solve. The most feared is the situation where there are no minor problems and BASIC script effects are supported, that is, when the Function Method of window. opener is called, the error is reported: the class cannot support Automation operations. Such specific error information cannot be found in Baidu/Google.

Strictly speaking, it is hard to say that it is an Internet Explorer error. However, based on experience, you may often make a hard job on Internet Explorer. For example, you may upgrade Internet Explorer 6 to Internet Explorer 7/Internet Explorer 8, or reinstall it to fix third-party software to varying degrees, generally, the problem cannot be solved. If you need a reason, you must have installed a patch or uninstalled a software on a Trojan on a certain day of the year, as a result, a dynamic extension of a component is unregistered and cannot support certain effects ......

Speaking of this, the regsvr32 command is a command line tool for registering DLL dynamic extension libraries. Method: Enter regsvr32dllname in "run" and press Enter. There are several parameters in use:

 
 
  1. /U -- anti-Register Control
  2. /S -- no matter whether the registration is successful or not, the prompt box is not displayed
  3. /C -- console output
  4. /I -- skip the control option for installation (different from registration)
  5. /N -- do not register the control. This option must be used with the/I option.

I have extracted several methods to solve the failure of the IEJavascript script from the Internet, and executed them gradually. The machine does not need to be restarted.

At the simplest level, register two script libraries, as shown in the figure above ):

 
 
  1. regsvr32jscript.dll  
  2. regsvr32vbscript.dll 

If not, register a few more items, including the connection failure to open a new window, etc ):

 
 
  1. regsvr32Shdocvw.dll  
  2. regsvr32Oleaut32.dll  
  3. regsvr32Actxprxy.dll  
  4. regsvr32Mshtml.dll  
  5. regsvr32Urlmon.dll  
  6. regsvr32browseui.dll  

If not, copy the following code to the CMD command line and paste it for execution:

 
 
  1. rundll32.exeadvpack.dll/DelNodeRunDLL32%
  2. systemroot%\System32\dacui.dll  
  3. rundll32.exeadvpack.dll/DelNodeRunDLL32%
  4. systemroot%\Catroot\icatalog.mdb  
  5. regsvr32/scomcat.dll  
  6. regsvr32/sasctrls.ocx  
  7. regsvr32/soleaut32.dll  
  8. regsvr32/sshdocvw.dll/i  
  9. regsvr32/sshdocvw.dll  
  10. regsvr32/sbrowseui.dll  
  11. regsvr32/sbrowseui.dll/i  
  12. regsvr32/smsrating.dll  
  13. regsvr32/smlang.dll  
  14. regsvr32/shlink.dll  
  15. regsvr32/smshtml.dll  
  16. regsvr32/smshtmled.dll  
  17. regsvr32/surlmon.dll  
  18. regsvr32/splugin.ocx  
  19. regsvr32/ssendmail.dll  
  20. regsvr32/smshtml.dll/i  
  21. regsvr32/sscrobj.dll  
  22. regsvr32/scorpol.dll  
  23. regsvr32/sjscript.dll  
  24. regsvr32/smsxml.dll  
  25. regsvr32/simgutil.dll  
  26. regsvr32/scryptext.dll  
  27. regsvr32/sinseng.dll  
  28. regsvr32/siesetup.dll/i  
  29. regsvr32/scryptdlg.dll  
  30. regsvr32/sactxprxy.dll  
  31. regsvr32/sdispex.dll  
  32. regsvr32/soccache.dll  
  33. regsvr32/siepeers.dll  
  34. regsvr32/surlmon.dll/i  
  35. regsvr32/scdfview.dll  
  36. regsvr32/swebcheck.dll  
  37. regsvr32/smobsync.dll  
  38. regsvr32/spngfilt.dll  
  39. regsvr32/slicmgr10.dll  
  40. regsvr32/shhctrl.ocx  
  41. regsvr32/sinetcfg.dll  

If it doesn't work, I can't pull it either. I just won't be able to solve the problem here, so I will record it here. PS: theoretically, these are just re-registering existing files. Even if the problem cannot be solved, it will not cause other problems.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.