我们有时候在运行ASP程序的时候,会出现提示ActiveX部件不能创建对象,出现这个问题的原因,有可能是服务器系统重装了。那么当你遇到WinXP系统ActiveX部件不能创建对象怎么办?不知道怎么解决的朋友请看文章内容吧!
步骤一:相关DLL文件注册
1、这个步骤也是前提,就是已经注册好和启动相关的DLL文件了。
打开运行输入框,输入cmd-回车,在cmd窗口中输入:
regsvr32 “c:windowssystem32scrrun.dll”,别忘记了有双引号。
2、如果第一步不行的话,那么就需要手动运行一些DLL文件了,创建一个文本文档,然后将下列文字复制进去:
01echo 正在修复,这个过程可能需要几分钟,请稍候……
02rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%System32dacui.dll
03rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%Catrooticatalog.mdb
04regsvr32 /s comcat.dll
05regsvr32 /s asctrls.ocx
06regsvr32 /s oleaut32.dll
07regsvr32 /s shdocvw.dll /I
08regsvr32 /s shdocvw.dll
09regsvr32 /s browseui.dll
10regsvr32 /s browseui.dll /I
11regsvr32 /s msrating.dll
12regsvr32 /s mlang.dll
13regsvr32 /s hlink.dll
14regsvr32 /s mshtml.dll
15regsvr32 /s mshtmled.dll
16regsvr32 /s urlmon.dll
17regsvr32 /s plugin.ocx
18regsvr32 /s sendmail.dll
19regsvr32 /s mshtml.dll /i
20regsvr32 /s scrobj.dll
21regsvr32 /s corpol.dll
22regsvr32 /s jscript.dll
23regsvr32 /s msxml.dll
24regsvr32 /s imgutil.dll
25regsvr32 /s cryptext.dll
26regsvr32 /s inseng.dll
27regsvr32 /s iesetup.dll /i
28regsvr32 /s cryptdlg.dll
29regsvr32 /s actxprxy.dll
30regsvr32 /s dispex.dll
31regsvr32 /s occache.dll
32regsvr32 /s iepeers.dll
33regsvr32 /s urlmon.dll /i
34regsvr32 /s cdfview.dll
35regsvr32 /s webcheck.dll
36regsvr32 /s mobsync.dll
37regsvr32 /s pngfilt.dll
38regsvr32 /s licmgr10.dll
39regsvr32 /s hhctrl.ocx
40regsvr32 /s inetcfg.dll
41regsvr32 /s trialoc.dll
42regsvr32 /s tdc.ocx
43regsvr32 /s MSR2C.DLL
44regsvr32 /s msident.dll
45regsvr32 /s msieftp.dll
46regsvr32 /s xmsconf.ocx
47regsvr32 /s ils.dll
48regsvr32 /s msoeacct.dll
49regsvr32 /s wab32.dll
50regsvr32 /s wabimp.dll
51regsvr32 /s wabfind.dll
52regsvr32 /s oemiglib.dll
53regsvr32 /s directdb.dll
54regsvr32 /s inetcomm.dll
55regsvr32 /s msoe.dll
56regsvr32 /s oeimport.dll
57regsvr32 /s msdxm.ocx
58regsvr32 /s dxmasf.dll
59regsvr32 /s laprxy.dll
60regsvr32 /s l3codecx.ax
61regsvr32 /s acelpdec.ax
62regsvr32 /s mpg4ds32.ax
63regsvr32 /s danim.dll
64regsvr32 /s Daxctle.ocx
65regsvr32 /s lmrt.dll
66regsvr32 /s datime.dll
67regsvr32 /s dxtrans.dll
68regsvr32 /s dxtmsft.dll
69regsvr32 /s wshom.ocx
70regsvr32 /s wshext.dll
71regsvr32 /s vbscript.dll
72regsvr32 /s scrrun.dll mstinit.exe /setup
73regsvr32 /s msnsspc.dll /SspcCreateSspiReg
74regsvr32 /s msapsspc.dll /SspcCreateSspiReg
75echo.
76echo.
77echo 修复成功!任意键退出!
78pause>nul
复制代码echo 正在修复,这个过程可能需要几分钟,请稍候…… rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%System32dacui.dll rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%Catrooticatalog.mdb regsvr32 /s comcat.dll regsvr32 /s asctrls.ocx regsvr32 /s oleaut32.dll regsvr32 /s shdocvw.dll /I regsvr32 /s shdocvw.dll regsvr32 /s browseui.dll regsvr32 /s browseui.dll /I regsvr32 /s msrating.dll regsvr32 /s mlang.dll regsvr32 /s hlink.dll regsvr32 /s mshtml.dll regsvr32 /s mshtmled.dll regsvr32 /s urlmon.dll regsvr32 /s plugin.ocx regsvr32 /s sendmail.dll regsvr32 /s mshtml.dll /i regsvr32 /s scrobj.dll regsvr32 /s corpol.dll regsvr32 /s jscript.dll regsvr32 /s msxml.dll regsvr32 /s imgutil.dll regsvr32 /s cryptext.dll regsvr32 /s inseng.dll regsvr32 /s iesetup.dll /i regsvr32 /s cryptdlg.dll regsvr32 /s actxprxy.dll regsvr32 /s dispex.dll regsvr32 /s occache.dll regsvr32 /s iepeers.dll regsvr32 /s urlmon.dll /i regsvr32 /s cdfview.dll regsvr32 /s webcheck.dll regsvr32 /s mobsync.dll regsvr32 /s pngfilt.dll regsvr32 /s licmgr10.dll regsvr32 /s hhctrl.ocx regsvr32 /s inetcfg.dll regsvr32 /s trialoc.dll regsvr32 /s tdc.ocx regsvr32 /s MSR2C.DLL regsvr32 /s msident.dll regsvr32 /s msieftp.dll regsvr32 /s xmsconf.ocx regsvr32 /s ils.dll regsvr32 /s msoeacct.dll regsvr32 /s wab32.dll regsvr32 /s wabimp.dll regsvr32 /s wabfind.dll regsvr32 /s oemiglib.dll regsvr32 /s directdb.dll regsvr32 /s inetcomm.dll regsvr32 /s msoe.dll regsvr32 /s oeimport.dll regsvr32 /s msdxm.ocx regsvr32 /s dxmasf.dll regsvr32 /s laprxy.dll regsvr32 /s l3codecx.ax regsvr32 /s acelpdec.ax regsvr32 /s mpg4ds32.ax regsvr32 /s danim.dll regsvr32 /s Daxctle.ocx regsvr32 /s lmrt.dll regsvr32 /s datime.dll regsvr32 /s dxtrans.dll regsvr32 /s dxtmsft.dll regsvr32 /s wshom.ocx regsvr32 /s wshext.dll regsvr32 /s vbscript.dll regsvr32 /s scrrun.dll mstinit.exe /setup regsvr32 /s msnsspc.dll /SspcCreateSspiReg regsvr32 /s msapsspc.dll /SspcCreateSspiReg echo. echo. echo 修复成功!任意键退出! pause>nul