搜索
查看: 15238|回复: 0

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

[复制链接]
发表于 2013-4-18 12:56:13 | 显示全部楼层 |阅读模式
很久没用asp了,今天看到aspcms出新版本,下来测试下,用asp调试工具跟IIS都不行,出现以下错误:
4 R2 \% i# v" `0 f, L
7 m  e$ q$ K& W7 i) p错误号:-2147221005
. ?" y# `7 J- c错误描述:006~ASP 0177~Server.CreateObject 失败~无效的类别字符串8 S8 v- o9 M' Q2 ~  N. {
0 e( Y9 e; w2 q- j  p! N
测试其他网站程序也有点问题,一想前些日子安装了php环境,可能是有冲突了。! `. t3 D$ s; [$ B5 k
( t. l: Z8 }: {3 ?2 g
于是我怀疑是iis 有问题了,其它程序提示 无法创建 Server.CreateObject,与百度了一下,解决方法如下:% y2 Q5 m1 Y+ V$ Q) C6 U
一、权限不足5 Y0 }& {8 f8 E/ v
右击网站所在文件夹--安全选项,加入everyone,internet来宾帐号(IUSR...)用户确定,然后重新启动IIs,未成功请尝试以下方法修复。- H5 n8 h) L1 z
二、系统没有开启FSO组件.
2 P  c; ?& p  }. O运行cmd命令
5 [  T0 l4 s. u# W* k启用FSO命令:RegSvr32 %windir%\SYSTEM32\scrrun.dll  
% D1 j: q  m) H/ A3 y: N重新注册FSO文件管理 regsvr32 "C:\Program Files\Common Files\System\ado\msado15.dll"6 Y. r3 U- E$ Y+ @
重新注册ADODB.Stream组件) Q; b2 U; d7 X- [8 \2 M5 _6 y
三、如果上述两法仍未解决,则可能是其它原因,不仿试试下面bat批处理代码。将下面代码复制到记事本,另存为 cmd.bat,双击运行就可以了。5 h+ z0 Y1 \: x" i* Q5 i
echo 正在修复,这个过程可能需要几分钟,请稍候……# D4 _& F6 \3 B
rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%\System32\dacui.dll% @, _' R$ ^; j5 F+ s6 [
rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%\Catroot\icatalog.mdb* A. j! ?, p2 o9 q
regsvr32 /s comcat.dll. k% ^/ q& _0 C: K" Q
regsvr32 /s asctrls.ocx
: {& x4 G" B' {regsvr32 /s oleaut32.dll
- x7 i3 W- v# t6 u( r# w6 W( Fregsvr32 /s shdocvw.dll /I
% C4 U+ A7 P2 rregsvr32 /s shdocvw.dll
2 c/ M" M. a5 b% \( ^+ K2 x$ aregsvr32 /s browseui.dll
: t) }1 {# u- d) aregsvr32 /s browseui.dll /I# J, x* p  r7 j7 j1 X- w% w
regsvr32 /s msrating.dll1 K$ w/ U( D6 u- O+ r/ K
regsvr32 /s mlang.dll
" Q, o9 {- T" r: k' Gregsvr32 /s hlink.dll
0 [7 _0 R0 [. \. Eregsvr32 /s mshtml.dll
. I7 Z% v- o1 Tregsvr32 /s mshtmled.dll
; F, ?+ f! b5 O6 Vregsvr32 /s urlmon.dll
0 M) T& z4 f) ]. G6 F4 L5 fregsvr32 /s plugin.ocx
) d7 {) z) b# k# y0 e7 rregsvr32 /s sendmail.dll- {% {2 Q$ N& K% q" t
regsvr32 /s mshtml.dll /i. l. W0 O# c! ]. M& {
regsvr32 /s scrobj.dll
/ a; i+ D9 ]1 \6 s: d, X3 yregsvr32 /s corpol.dll5 O( y) A, T5 B! e8 I6 j6 v  Y, f
regsvr32 /s jscript.dll: p% G5 Q- X, H  y9 ]
regsvr32 /s msxml.dll9 z; ]1 J7 O/ C' [, H/ ~
regsvr32 /s imgutil.dll
4 Z  R. d8 n' p% z( V3 j1 cregsvr32 /s cryptext.dll
1 ?! \$ p3 `5 {( Q% z7 T+ S/ aregsvr32 /s inseng.dll- v1 k1 @* A* C% n6 T8 C' }2 r
regsvr32 /s iesetup.dll /i+ K6 t5 i. v3 ]2 i1 z6 |, u
regsvr32 /s cryptdlg.dll8 r4 a. q# O+ ~+ m  f! c/ `
regsvr32 /s actxprxy.dll& u% f% J3 L* _0 `
regsvr32 /s dispex.dll
! c, Q5 }1 c" ?; q* o! Eregsvr32 /s occache.dll$ h: f3 @. B6 T+ ?, d
regsvr32 /s iepeers.dll% d3 `  z+ Q) k7 ]. t5 X: n
regsvr32 /s urlmon.dll /i
6 w$ w/ }' y" C7 z6 ^+ kregsvr32 /s cdfview.dll3 b4 k) h% V* A0 l
regsvr32 /s webcheck.dll
5 U7 ~+ C3 _9 o4 J: k, Uregsvr32 /s mobsync.dll7 l" K0 u6 v- u$ k2 j/ ?
regsvr32 /s pngfilt.dll
% {, Z, E9 r9 P% `% N) {0 b( {regsvr32 /s licmgr10.dll1 M  f4 H' t8 i: }
regsvr32 /s hhctrl.ocx4 v! D; J5 S- s
regsvr32 /s inetcfg.dll7 J9 i' V7 o. G8 e& W
regsvr32 /s trialoc.dll/ U+ x3 [8 a! O0 K  ?; f, n
regsvr32 /s tdc.ocx
  @" b: Y! ~% uregsvr32 /s MSR2C.DLL" w* a1 |) D: f
regsvr32 /s msident.dll) e' V& Z3 j) ^7 Y) G3 v% P" m
regsvr32 /s msieftp.dll7 L4 [$ ^  N& _3 O0 [& r
regsvr32 /s xmsconf.ocx
9 u7 ?5 U) _. h  dregsvr32 /s ils.dll6 y' b, p& J0 J! ?- ?0 q0 V
regsvr32 /s msoeacct.dll6 }: b8 M2 F; B; ^
regsvr32 /s wab32.dll
) J7 J' z9 ]+ A" Y, V7 c& Hregsvr32 /s wabimp.dll6 V# H! D* N8 u* Z: K$ r
regsvr32 /s wabfind.dll
: X1 K+ b+ H& ?& ?$ g1 U4 Mregsvr32 /s oemiglib.dll
! o7 m( y2 a( m: a' Z; H# a$ jregsvr32 /s directdb.dll
' H$ J0 g* v* @" O) K% }regsvr32 /s inetcomm.dll
2 x3 R9 r1 [6 Nregsvr32 /s msoe.dll
% R$ z4 @# f* G- G2 @+ T+ Zregsvr32 /s oeimport.dll
( X5 x+ r" |$ gregsvr32 /s msdxm.ocx( H$ w; L" h+ w* {& e& s
regsvr32 /s dxmasf.dll3 D  d! N9 a$ J& ]
regsvr32 /s laprxy.dll  _" x- x& ~4 Q) y5 f
regsvr32 /s l3codecx.ax
" Q: ?7 V( Y7 M0 ^! A& y$ lregsvr32 /s acelpdec.ax
) X( n8 |. E8 i2 e$ dregsvr32 /s mpg4ds32.ax
# k- n) I8 a  H; ]# i9 G1 Lregsvr32 /s danim.dll
  o8 n0 ]& H* C5 Gregsvr32 /s Daxctle.ocx) {- y5 ^8 D0 a' o+ D
regsvr32 /s lmrt.dll
8 K: ?2 K* e3 Q/ Cregsvr32 /s datime.dll
3 }/ x3 q) _5 N( A4 M, Aregsvr32 /s dxtrans.dll
- b% ^+ C9 G) _3 O/ ^regsvr32 /s dxtmsft.dll
" R" U" ?. ~6 n9 Aregsvr32 /s wshom.ocx+ L. N$ }6 |4 Q1 B
regsvr32 /s wshext.dll
: K7 F, L/ J- r, \# l( Y" Lregsvr32 /s vbscript.dll, K" w; I& X8 r7 C5 N: A
regsvr32 /s scrrun.dll mstinit.exe /setup/ Z9 @+ z) n( R# ?5 Y
regsvr32 /s msnsspc.dll /SspcCreateSspiReg
8 [; `% q  Y+ _; h& mregsvr32 /s msapsspc.dll /SspcCreateSspiReg
, T" E5 Q- u' [3 X: F7 P6 N' fecho.
7 L  f' P6 X$ N% m" J) m" b5 R* R" d' Wecho.3 O! {; v) f$ t% r7 v. e) E8 T& g% A
echo 修复成功!任意键退出!) _0 S- v0 J9 b" }6 e
pause>nul
7 i, l4 W/ I1 ~, ]$ n1 ]+ I四、如果没有解决问题,建议重装IIS,还有问题的情况下就只能重装系统了。% T9 I+ g* o. M( |( O+ e& }

$ P8 j2 F7 q9 I3 aPS:+ m1 |' e. ?3 v
方法一设置了权限没用,然后用方法二,紧接着就是方法三,回头一看aspcms的页面自动刷新正常了。果然是组件的问题,至于是FSO还是其他的就难说了,反正是解决了,出问题可以一步一步来,做完一步测试看看,就知道是哪儿的问题了。6 B  u8 c& v( c! v/ f( g
3 K; c+ ^( K" j6 L- I
如果用完以上办法后,运行iis仍然出错( M$ S1 W0 @0 R) B6 w0 K9 h. R; ?
右键IE桌面图标--->属性--->高级--->去掉“显示友好http错误信息”前面的勾--->再运行的IIS,提示“ASP0201错误”" w, n4 g  N+ z5 U4 x, f& x
下载下面的绿色软件 iisfixer [IIS的修复工具] 就能解决问题
8 ^! f8 j9 L( q IIsfixer.rar (1.07 MB, 下载次数: 0) 5 L( k' Z/ A# q! B, n2 F
1 x; X6 Z9 t4 |* t% S3 {

5 ?3 C( V3 V, ^8 X7 @
回复

使用道具 举报

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

本版积分规则

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

虾皮社区,成立十年了!

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

Copyright © 2007-2019 xp6.org Powered by Discuz

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