转 “automation服务器不能创建对象”的问题的解决方案总结大全

我工作中的应用系统都是jsp的,大量javascript程序,一旦出“automation服务器不能创建对象”问题,大量报表及查询无法保存,苦思冥 想、千尝万试,终于将其搞定,现将相关方案与大家共享。

1、如果是Scripting.FileSystemObject(FSO文本文件读写)被关闭了,开启FSO功能即可,在“运行”中执行regsvr32scrrun.dll即可

2、安全模式设置成“中”,如果javascript脚本中报这个错误,还应将IE的安全设置“不允许运行未标记为安全的activeX控件”启用即可。

注意如果您将相应的网站设成“受信任的站点”,必须对“受信任的站点”进行相应的IE安全设置,此时如果对“Internet”IE设置将是徒劳的。

3、有些脚本需要微软的MSXML控件才能进入。当使用IE5以上版本的缺省安全模式时,会提示是否接受MSXML控件,如果接受,MSXML将自动安装到您的机器上(得等上几分钟)。如果自动安装不成功,可以自行下载和安装MSXML3.0SP7。有时是由于msxml3服务被关掉了,使用regsvr32msxml3.dll即可

4、用上面方法基本上能决问题。如果是在安装某个软件后出现这种问题,可尝度卸载该软件或重装一下!

如果还是不行,试试以下方法:

5、请将以下语句复制到记事本中,另存为后缀为.cmd的文件,并运行。当然在命令行下一句句运行也没问题。

echo正在修复,这个过程可能需要几分钟,请稍候……

rundll32.exeadvpack.dll/DelNodeRunDLL32%systemroot%/System32/dacui.dll

rundll32.exeadvpack.dll/DelNodeRunDLL32%systemroot%/Catroot/icatalog.mdb

regsvr32/scomcat.dll

regsvr32/sasctrls.ocx

regsvr32/soleaut32.dll

regsvr32/sshdocvw.dll/I

regsvr32/sshdocvw.dll

regsvr32/sbrowseui.dll

regsvr32/sbrowseui.dll/I

regsvr32/smsrating.dll

regsvr32/smlang.dll

regsvr32/shlink.dll

regsvr32/smshtml.dll

regsvr32/smshtmled.dll

regsvr32/surlmon.dll

regsvr32/splugin.ocx

regsvr32/ssendmail.dll

regsvr32/smshtml.dll/i

regsvr32/sscrobj.dll

regsvr32/scorpol.dll

regsvr32/sjscript.dll

regsvr32/smsxml.dll

regsvr32/simgutil.dll

regsvr32/scryptext.dll

regsvr32/sinseng.dll

regsvr32/siesetup.dll/i

regsvr32/scryptdlg.dll

regsvr32/sactxprxy.dll

regsvr32/sdispex.dll

regsvr32/soccache.dll

regsvr32/siepeers.dll

regsvr32/surlmon.dll/i

regsvr32/scdfview.dll

regsvr32/swebcheck.dll

regsvr32/smobsync.dll

regsvr32/spngfilt.dll

regsvr32/slicmgr10.dll

regsvr32/shhctrl.ocx

regsvr32/sinetcfg.dll

regsvr32/strialoc.dll

regsvr32/stdc.ocx

regsvr32/sMSR2C.DLL

regsvr32/smsident.dll

regsvr32/smsieftp.dll

regsvr32/sxmsconf.ocx

regsvr32/sils.dll

regsvr32/smsoeacct.dll

regsvr32/swab32.dll

regsvr32/swabimp.dll

regsvr32/swabfind.dll

regsvr32/soemiglib.dll

regsvr32/sdirectdb.dll

regsvr32/sinetcomm.dll

regsvr32/smsoe.dll

regsvr32/soeimport.dll

regsvr32/smsdxm.ocx

regsvr32/sdxmasf.dll

regsvr32/slaprxy.dll

regsvr32/sl3codecx.ax

regsvr32/sacelpdec.ax

regsvr32/smpg4ds32.ax

regsvr32/sdanim.dll

regsvr32/sDaxctle.ocx

regsvr32/slmrt.dll

regsvr32/sdatime.dll

regsvr32/sdxtrans.dll

regsvr32/sdxtmsft.dll

regsvr32/swshom.ocx

regsvr32/swshext.dll

regsvr32/svbscript.dll

regsvr32/sscrrun.dllmstinit.exe/setup

regsvr32/smsnsspc.dll/SspcCreateSspiReg

regsvr32/smsapsspc.dll/SspcCreateSspiReg

echo.

echo.

echo修复成功!任意键退出!

pause>nu

相关推荐