"automation服務(wù)器不能創(chuàng)建對(duì)象”的問(wèn)題的解決方案總結(jié)大全
本人工作中的應(yīng)用系統(tǒng)都是jsp的,大量javascript程序,一旦出“automation服務(wù)器不能創(chuàng)建對(duì)象”問(wèn)題,大量報(bào)表及查詢無(wú)法保存,苦思冥想、千嘗萬(wàn)試,終于將其搞定,現(xiàn)將相關(guān)方案與大家共享。
1、如果是Scripting.FileSystemObject (FSO 文本文件讀寫)被關(guān)閉了,開啟FSO功能即可,在“運(yùn)行”中執(zhí)行regsvr32 scrrun.dll即可
2、安全模式設(shè)置成“中”,如果javascript腳本中報(bào)這個(gè)錯(cuò)誤,還應(yīng)將IE的安全設(shè)置“不允許運(yùn)行未標(biāo)記為安全的activeX控件”啟用即可。
注意如果您將相應(yīng)的網(wǎng)站設(shè)成“受信任的站點(diǎn)”,必須對(duì)“受信任的站點(diǎn)”進(jìn)行相應(yīng)的IE安全設(shè)置,此時(shí)如果對(duì)“Internet”IE設(shè)置將是徒勞的。
3、有些腳本需要微軟的 MSXML 控件才能進(jìn)入。當(dāng)使用 IE 5 以上版本的缺省安全模式時(shí),會(huì)提示是否接受 MSXML 控件,如果接受,MSXML 將自動(dòng)安裝到您的機(jī)器上(得等上幾分鐘)。如果自動(dòng)安裝不成功,可以自行下載和安裝 MSXML 3.0 SP7。有時(shí)是由于msxml 3服務(wù)被關(guān)掉了,使用regsvr32 msxml3.dll即可
4、用上面方法基本上能決問(wèn)題。如果是在安裝某個(gè)軟件后出現(xiàn)這種問(wèn)題,可嘗度卸載該軟件或重裝一下!
如果還是不行,試試以下方法:
5、請(qǐng)將以下語(yǔ)句復(fù)制到記事本中,另存為后綴為.cmd的文件,并運(yùn)行。當(dāng)然在命令行下一句句運(yùn)行也沒問(wèn)題。
echo 正在修復(fù),這個(gè)過(guò)程可能需要幾分鐘,請(qǐng)稍候……
rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%/System32/dacui.dll
rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%/Catroot/icatalog.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 修復(fù)成功!任意鍵退出!
pause>nul
關(guān)鍵詞:automation,服務(wù)器
閱讀本文后您有什么感想? 已有 人給出評(píng)價(jià)!
- 0
- 0
- 0
- 0
- 0
- 0