搜索
查看: 15364|回复: 0

[网站] aspcms 错误号:-2147221005 错误描述:006~ASP 0177~Server.CreateObject 失败~无...

[复制链接]
发表于 2013-4-18 12:56:13 | 显示全部楼层 |阅读模式
很久没用asp了,今天看到aspcms出新版本,下来测试下,用asp调试工具跟IIS都不行,出现以下错误:
1 |7 e1 \- {$ {% f8 q7 t& C* g% \. @# m6 w, ?
错误号:-2147221005; @  @& Q; [  V+ |& q1 X$ G( G
错误描述:006~ASP 0177~Server.CreateObject 失败~无效的类别字符串6 s3 G7 n7 G% k' ~: q- W

, h& [% u4 E9 q( L1 s测试其他网站程序也有点问题,一想前些日子安装了php环境,可能是有冲突了。
% }$ j% Y7 I" Y, q# A, I- e" ^0 i' Z6 F, P( a
于是我怀疑是iis 有问题了,其它程序提示 无法创建 Server.CreateObject,与百度了一下,解决方法如下:# R9 J3 w1 [2 @) N
一、权限不足/ s5 z$ x! ]2 e; m9 O4 {( v
右击网站所在文件夹--安全选项,加入everyone,internet来宾帐号(IUSR...)用户确定,然后重新启动IIs,未成功请尝试以下方法修复。1 U5 f; }% H0 X1 i6 e
二、系统没有开启FSO组件.& Y% O! A4 T0 d* f# V5 f: E
运行cmd命令' H2 D- L  t3 O: @. b7 N0 v
启用FSO命令:RegSvr32 %windir%\SYSTEM32\scrrun.dll  
: x  x; h0 F" @+ S; z- L5 A) y重新注册FSO文件管理 regsvr32 "C:\Program Files\Common Files\System\ado\msado15.dll"
1 r) S1 H8 N' a8 C1 w/ f9 j重新注册ADODB.Stream组件! a5 N. C2 O8 F
三、如果上述两法仍未解决,则可能是其它原因,不仿试试下面bat批处理代码。将下面代码复制到记事本,另存为 cmd.bat,双击运行就可以了。7 b4 F4 p& Z3 T( u9 O. u
echo 正在修复,这个过程可能需要几分钟,请稍候……1 k+ d" b" e, i. k+ C, Q$ q
rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%\System32\dacui.dll, B. T, y, o- z* ]' P& g" l
rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%\Catroot\icatalog.mdb, S0 J; p- Y# W& k/ x7 Z3 S
regsvr32 /s comcat.dll' a. P5 q3 g5 t- w
regsvr32 /s asctrls.ocx5 I& V9 Y9 m% u- Y$ N/ I. b
regsvr32 /s oleaut32.dll
2 s+ u; D5 N1 |( l. Rregsvr32 /s shdocvw.dll /I
- m8 s# s* @9 b: z; s! Hregsvr32 /s shdocvw.dll
- @6 U' \' @+ f& J8 n) c" A9 A9 [5 V/ _regsvr32 /s browseui.dll
; {, r/ b4 S6 d1 B0 u( bregsvr32 /s browseui.dll /I; S4 t' h( _1 \# l
regsvr32 /s msrating.dll
) j& U! B' A, d8 Uregsvr32 /s mlang.dll. U4 Z- w& _+ c1 o9 B2 w' |( f
regsvr32 /s hlink.dll
% x2 H8 A& S5 z/ i0 i, q1 S5 [regsvr32 /s mshtml.dll1 F2 l( X+ c$ m0 j, v/ Z) p- u
regsvr32 /s mshtmled.dll
2 g& e! S$ G6 X" v6 ~! Oregsvr32 /s urlmon.dll
$ e3 G. v( w! U. ]' @2 Iregsvr32 /s plugin.ocx
9 E' t3 E& b6 f5 n6 l9 L) oregsvr32 /s sendmail.dll
# I* ^! F7 r; @; C8 T" {8 b+ sregsvr32 /s mshtml.dll /i& p9 K0 L+ S4 p& W( i. D; {7 Q0 m% a
regsvr32 /s scrobj.dll5 H; D, X% H) m! J7 q. M- M! p, M4 o" K
regsvr32 /s corpol.dll. @  T+ [7 Q& a0 n0 @
regsvr32 /s jscript.dll
* F: [; m8 L1 h5 z8 h8 O' L8 I$ ]regsvr32 /s msxml.dll
. ~5 f5 q& E! K9 G& V# U" hregsvr32 /s imgutil.dll4 v1 p; r+ M4 Y; A  @
regsvr32 /s cryptext.dll
7 l1 [6 }$ [1 N' x' F- Fregsvr32 /s inseng.dll
) `2 t  p+ n: b3 J1 Iregsvr32 /s iesetup.dll /i4 o; b+ T' X$ }
regsvr32 /s cryptdlg.dll+ z. J- b4 C5 U0 H" {
regsvr32 /s actxprxy.dll
9 a& s8 o. R9 Y, aregsvr32 /s dispex.dll  s2 H1 G% C! M, o' A. S1 d
regsvr32 /s occache.dll
& ^9 Z' Y# R$ r3 q2 b- E+ b, Sregsvr32 /s iepeers.dll
, \4 f  J, U) R( [2 ?regsvr32 /s urlmon.dll /i- W0 D7 Z9 ~) n* u9 \
regsvr32 /s cdfview.dll7 |% Z! M' W# Q6 ^' O
regsvr32 /s webcheck.dll7 f1 I5 B6 e' H$ b5 y  Q
regsvr32 /s mobsync.dll8 M/ \& s1 `1 M2 u+ W
regsvr32 /s pngfilt.dll, I: `- d( k  @; H4 \& t
regsvr32 /s licmgr10.dll
/ }& W; J6 R: l8 a/ W4 [regsvr32 /s hhctrl.ocx7 F+ F' t0 U# S9 P9 E
regsvr32 /s inetcfg.dll4 x) x0 s$ k* I% d) k3 _
regsvr32 /s trialoc.dll
4 Z9 ?- n: Q1 }regsvr32 /s tdc.ocx
" s/ E5 B0 h) }& S2 W* G( @$ Pregsvr32 /s MSR2C.DLL
8 f) z4 a/ q$ Lregsvr32 /s msident.dll
2 A+ Q8 e4 {( L& q7 z% u1 a7 tregsvr32 /s msieftp.dll
1 G  b  i8 z$ G& j% qregsvr32 /s xmsconf.ocx
) k/ R8 b) N5 P: k( T0 D7 e7 N0 rregsvr32 /s ils.dll% w, T# t+ b: I9 X
regsvr32 /s msoeacct.dll
' T+ p7 U5 g" uregsvr32 /s wab32.dll3 F8 H  \+ E3 L" Q1 o! ?/ d. ]7 E
regsvr32 /s wabimp.dll7 X$ ^. a& d% l, `# F, B
regsvr32 /s wabfind.dll) s9 H1 E# Q4 D+ g; i7 E, K. |. J
regsvr32 /s oemiglib.dll: L1 @$ z1 g2 D2 ~! Z" F8 Z+ Z! o/ M
regsvr32 /s directdb.dll
1 w6 ^0 f4 _7 O* rregsvr32 /s inetcomm.dll* i$ v4 m3 T: j) w% U4 Z5 g
regsvr32 /s msoe.dll
* {& |* H' N2 J" p: xregsvr32 /s oeimport.dll/ A% M) u) F" z8 {8 c8 \: q7 N
regsvr32 /s msdxm.ocx
6 [( F4 B  n; h5 Eregsvr32 /s dxmasf.dll
9 k$ ^+ k8 A/ c+ j$ n9 |5 e9 Oregsvr32 /s laprxy.dll2 @" B/ {: e2 }& ]) c1 _
regsvr32 /s l3codecx.ax! I+ R0 r& U! l8 L$ i2 z
regsvr32 /s acelpdec.ax- X. W3 n6 _% p0 `: i
regsvr32 /s mpg4ds32.ax
" e. P5 O4 p; p- X. m% N2 v3 bregsvr32 /s danim.dll
2 S  O# _' |% {8 R( A2 Zregsvr32 /s Daxctle.ocx
$ t9 C7 \* i" A/ @- |, d/ iregsvr32 /s lmrt.dll5 h. W$ U5 o- d' Z& F& m
regsvr32 /s datime.dll% a9 |- Q! R4 O; }% v
regsvr32 /s dxtrans.dll9 H: a/ R) A# ~* @; `/ a. }
regsvr32 /s dxtmsft.dll' o# `0 }+ X& k+ i& {% H  W
regsvr32 /s wshom.ocx
8 t. C* C  u, {- A4 \; R+ |regsvr32 /s wshext.dll( G' o( e  _: S
regsvr32 /s vbscript.dll
9 p* w: L. C3 s* Xregsvr32 /s scrrun.dll mstinit.exe /setup
; M7 X) |% J' O& u* u9 ^" i6 [regsvr32 /s msnsspc.dll /SspcCreateSspiReg
) t! `: K4 I# @% ~/ w$ C5 m- nregsvr32 /s msapsspc.dll /SspcCreateSspiReg0 w, i& g2 i. D
echo.7 O5 }( j/ _7 E! n1 q
echo.! k2 q  I; i2 ~( E# |# s$ i
echo 修复成功!任意键退出!  L. s5 e4 l5 _, f& }0 H& F* v8 T
pause>nul
. X7 @+ S) H5 D: F7 y四、如果没有解决问题,建议重装IIS,还有问题的情况下就只能重装系统了。
( I  w! k8 w- G7 u& R0 C9 [+ ?4 }4 B1 G2 i. L6 l; m
PS:1 F/ ^7 V) [, Q# m0 u6 E$ e% V
方法一设置了权限没用,然后用方法二,紧接着就是方法三,回头一看aspcms的页面自动刷新正常了。果然是组件的问题,至于是FSO还是其他的就难说了,反正是解决了,出问题可以一步一步来,做完一步测试看看,就知道是哪儿的问题了。
1 Z( t4 P* F4 O0 O- x' Q0 c+ Q! k( k4 C" V" U6 j# _
如果用完以上办法后,运行iis仍然出错7 i: S# `; B( k! j$ ^8 U
右键IE桌面图标--->属性--->高级--->去掉“显示友好http错误信息”前面的勾--->再运行的IIS,提示“ASP0201错误”
4 G9 z+ R3 \) {9 n) c, S* W$ B2 o下载下面的绿色软件 iisfixer [IIS的修复工具] 就能解决问题
- J. r8 b7 V$ a9 \/ N6 n IIsfixer.rar (1.07 MB, 下载次数: 0)
1 D6 u. E4 m9 n+ Z/ Q) r: ]
- N9 }& ?) z) I  j; {
( [+ X; B! K3 H5 T' G
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册帐号

本版积分规则

热议作品
精华帖子排行
精彩推荐

虾皮社区,成立十年了!

站长自己也搞不懂想做个什么,反正就是一直在努力的做!

Copyright © 2007-2019 xp6.org Powered by Discuz

QQ|Archiver|手机版|小黑屋|虾皮社区 鲁公网安备 37021102000261号 |网站地图
返回顶部 返回列表