搜索
查看: 15411|回复: 0

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

[复制链接]
发表于 2013-4-18 12:56:13 | 显示全部楼层 |阅读模式
很久没用asp了,今天看到aspcms出新版本,下来测试下,用asp调试工具跟IIS都不行,出现以下错误:
& H5 |/ ?; E/ K: f4 Q0 h0 S$ s
: T( L: P9 G! F) ^. H+ h: F错误号:-2147221005
8 ~, J' v+ W* ?. Z错误描述:006~ASP 0177~Server.CreateObject 失败~无效的类别字符串+ Z* ]8 Y2 I# o) N

) O7 K. ^7 @' x  m测试其他网站程序也有点问题,一想前些日子安装了php环境,可能是有冲突了。
4 M$ a, T; y: m2 @$ v, Z* s5 Z  H0 X2 [9 s
于是我怀疑是iis 有问题了,其它程序提示 无法创建 Server.CreateObject,与百度了一下,解决方法如下:
/ G5 [; Q' f  z. [: d 一、权限不足
6 P3 D, B8 b' P# O6 v* k右击网站所在文件夹--安全选项,加入everyone,internet来宾帐号(IUSR...)用户确定,然后重新启动IIs,未成功请尝试以下方法修复。, a; `9 o2 \+ A( u; c! I+ x* Q
二、系统没有开启FSO组件.5 A3 N  i0 N% a' h+ L
运行cmd命令& [0 j/ i/ P  D! t2 p3 V6 M! t* {# P
启用FSO命令:RegSvr32 %windir%\SYSTEM32\scrrun.dll  
: s3 t6 {& N/ e3 Z8 C" S6 j1 ^重新注册FSO文件管理 regsvr32 "C:\Program Files\Common Files\System\ado\msado15.dll"
7 d: Z5 W6 d' X# D) v# i重新注册ADODB.Stream组件
( x7 d" ], l$ W2 h2 E8 z三、如果上述两法仍未解决,则可能是其它原因,不仿试试下面bat批处理代码。将下面代码复制到记事本,另存为 cmd.bat,双击运行就可以了。
5 j5 X& F" L6 x( Q# y# S0 techo 正在修复,这个过程可能需要几分钟,请稍候……
  p, u* }8 {+ [9 w- y; i( ~rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%\System32\dacui.dll( h0 ^7 r1 E) u3 U! O
rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%\Catroot\icatalog.mdb
2 w( t' G; z7 R+ Z1 s0 vregsvr32 /s comcat.dll
; q6 _$ r5 L$ J* L3 ?2 g) L+ xregsvr32 /s asctrls.ocx
1 S  {! T4 ?2 H3 k5 h9 yregsvr32 /s oleaut32.dll9 w1 Y# ^8 P* P2 F% }7 {! e
regsvr32 /s shdocvw.dll /I. r* h+ y- y8 v7 ^4 F
regsvr32 /s shdocvw.dll
) j- M! V8 R1 D' ~# N" V1 zregsvr32 /s browseui.dll' f! \: ?$ Y* H9 s* ~
regsvr32 /s browseui.dll /I
5 Q) ~  L- g6 Aregsvr32 /s msrating.dll% t/ q' A% b, q" j6 C9 Z
regsvr32 /s mlang.dll
1 {9 c/ v: U+ cregsvr32 /s hlink.dll
  q* T4 b  O9 _2 R3 Q' [8 Mregsvr32 /s mshtml.dll
& L" Z4 q2 m+ w- b& N9 }. w# Zregsvr32 /s mshtmled.dll
3 H% \& x% S) X/ [4 _7 ~8 Lregsvr32 /s urlmon.dll
0 P$ h1 v1 H& z9 S4 G; _regsvr32 /s plugin.ocx' {  T( G# D) c. C3 H1 A
regsvr32 /s sendmail.dll
/ h4 q2 p( w: J$ R5 rregsvr32 /s mshtml.dll /i
2 X# M$ ?$ S4 e" y5 D: Cregsvr32 /s scrobj.dll
( @- Q/ I% j( y* Z6 [: ~5 Gregsvr32 /s corpol.dll
0 c; O& H9 ^& i1 B+ _% Jregsvr32 /s jscript.dll
5 z( \# }& W8 Gregsvr32 /s msxml.dll: k' q& ^( A2 A9 [6 h6 ?
regsvr32 /s imgutil.dll) T' N4 L5 Q5 W5 I# z0 p7 @4 y' j4 I
regsvr32 /s cryptext.dll5 p9 i0 ~' @0 Y. M" n6 B% X  G
regsvr32 /s inseng.dll/ r$ |- P4 M, j+ N
regsvr32 /s iesetup.dll /i( F, K: y& ^5 G$ h) i
regsvr32 /s cryptdlg.dll0 J% }/ a0 g% R9 K" \) Z
regsvr32 /s actxprxy.dll+ a9 }: R( a9 {
regsvr32 /s dispex.dll
9 I* n# B3 T9 L0 t$ Cregsvr32 /s occache.dll
- Y% b" n! K, i$ Q! Y: mregsvr32 /s iepeers.dll# P0 \! a& _! B
regsvr32 /s urlmon.dll /i
( k/ v* [' s  j+ Nregsvr32 /s cdfview.dll
  s+ [, y0 v& C% i! mregsvr32 /s webcheck.dll, e) c' M+ M' J. w  f' d: [' f) J  e
regsvr32 /s mobsync.dll$ b% }! ]( J; k: L
regsvr32 /s pngfilt.dll" |8 V* R+ d& V' e- C% K2 v
regsvr32 /s licmgr10.dll1 A  d- Z* R8 F- P- J, F; J; X3 ~
regsvr32 /s hhctrl.ocx
0 P( W+ X" J# |  |% U3 {7 A' Qregsvr32 /s inetcfg.dll
3 U0 ^  D" M7 q4 h- O7 Z4 Rregsvr32 /s trialoc.dll
/ S; v) c2 r8 N5 q0 S9 dregsvr32 /s tdc.ocx6 {2 s# L7 W; ^' Y
regsvr32 /s MSR2C.DLL# t8 k/ C6 z+ F" j/ R0 \5 e# L
regsvr32 /s msident.dll
, x" P1 m2 u" q% p. b& o. Hregsvr32 /s msieftp.dll) D. b0 g9 F- C0 ]9 S
regsvr32 /s xmsconf.ocx
8 r6 U( x$ @1 {/ Q+ Wregsvr32 /s ils.dll
" k& W' W/ K8 t, P( F* Oregsvr32 /s msoeacct.dll' v: D* o" q; E' W; M/ Q5 r
regsvr32 /s wab32.dll% z2 n" M) p- p7 O5 r# a/ t& i
regsvr32 /s wabimp.dll
- a$ C- e8 k/ E% j4 s) H& m5 p) G- Gregsvr32 /s wabfind.dll: n. L* z3 @- P' _. x' q
regsvr32 /s oemiglib.dll% W+ b* _% T/ @) ]5 t7 V. E
regsvr32 /s directdb.dll& d8 m% \5 }$ d3 y3 i& U( C* s+ d+ \
regsvr32 /s inetcomm.dll) r$ Y7 \4 y9 u, n
regsvr32 /s msoe.dll
$ G# |" m% f4 l2 q# J0 H$ Q  c+ T1 P: Wregsvr32 /s oeimport.dll* w9 Z- E! W! c* K2 I: M) A! f6 w
regsvr32 /s msdxm.ocx: {$ x1 {% P% o
regsvr32 /s dxmasf.dll" ~( D1 G. i: L$ S1 s% L+ V2 G
regsvr32 /s laprxy.dll, s* p) H: M2 W9 }/ b6 v8 t
regsvr32 /s l3codecx.ax
5 J4 R0 d, S0 ]4 v/ s9 Wregsvr32 /s acelpdec.ax5 W$ b; k% x6 h  ?) L. m
regsvr32 /s mpg4ds32.ax
" w' |4 c$ ~2 E) w# A2 Fregsvr32 /s danim.dll4 h% z7 ]/ c9 q( m  r: n6 M
regsvr32 /s Daxctle.ocx3 J1 E1 ]4 G& m( n$ r0 T" @& u) n' k
regsvr32 /s lmrt.dll7 O3 k  ~0 I- L8 O4 R6 d) \' C# ~
regsvr32 /s datime.dll
& s6 g) j3 H, Eregsvr32 /s dxtrans.dll$ R0 i+ J( ~* v6 N9 H
regsvr32 /s dxtmsft.dll
& H# p3 x6 \% D" g. cregsvr32 /s wshom.ocx
- F( |, p$ V& y; p) c5 [regsvr32 /s wshext.dll/ }5 g! O  w% ?+ s% i
regsvr32 /s vbscript.dll0 V( V* C; o- w& O; o( n
regsvr32 /s scrrun.dll mstinit.exe /setup
% V6 _) t* p% c. ^7 Aregsvr32 /s msnsspc.dll /SspcCreateSspiReg
6 |6 U. K) `# i. Q; Gregsvr32 /s msapsspc.dll /SspcCreateSspiReg: ]9 }  \) e$ v3 X* Q: I
echo.; F: `" d( |9 O$ H2 w' V% K& ]; _
echo.! X$ m3 G% b. ~$ k, {3 }5 w5 @
echo 修复成功!任意键退出!' V6 r  N# v9 F( s9 ]  l7 s
pause>nul
9 A2 }5 f) v% @, e) h4 x四、如果没有解决问题,建议重装IIS,还有问题的情况下就只能重装系统了。3 ?' d& B- g) C8 X5 M( S

0 B' c2 I! Q# Y6 LPS:" t: S$ t3 H9 Y
方法一设置了权限没用,然后用方法二,紧接着就是方法三,回头一看aspcms的页面自动刷新正常了。果然是组件的问题,至于是FSO还是其他的就难说了,反正是解决了,出问题可以一步一步来,做完一步测试看看,就知道是哪儿的问题了。
5 C+ K  O- r1 u/ K
& x- u1 s3 {+ r6 y2 l0 n如果用完以上办法后,运行iis仍然出错! Z' S  W1 D" _9 B: K( z) G
右键IE桌面图标--->属性--->高级--->去掉“显示友好http错误信息”前面的勾--->再运行的IIS,提示“ASP0201错误”5 I/ V& H% R8 q0 W( B
下载下面的绿色软件 iisfixer [IIS的修复工具] 就能解决问题
, z; f. a5 H$ Z+ S" U( l  r  I IIsfixer.rar (1.07 MB, 下载次数: 0)
0 x4 S$ E1 B  x$ Y. b# t2 j6 q3 L1 [* |5 _3 ]

7 D# @( q4 a) c
回复

使用道具 举报

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

本版积分规则

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

虾皮社区,成立十年了!

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

Copyright © 2007-2019 xp6.org Powered by Discuz

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