|
|
很久没用asp了,今天看到aspcms出新版本,下来测试下,用asp调试工具跟IIS都不行,出现以下错误:
8 H% q+ \9 g% P" d
. ~3 ?! o4 L8 H7 E( T错误号:-2147221005
# d& V: I# D# u5 s" u错误描述:006~ASP 0177~Server.CreateObject 失败~无效的类别字符串, U5 M. k* y) ], v
C- [) b) W, t d) Y8 X D
测试其他网站程序也有点问题,一想前些日子安装了php环境,可能是有冲突了。/ o6 i# G; ~+ z& G
2 [# B& o) |- z4 Z1 j2 y) G v, r+ t2 B
于是我怀疑是iis 有问题了,其它程序提示 无法创建 Server.CreateObject,与百度了一下,解决方法如下:
( M1 }2 h! [" K5 ~ 一、权限不足9 b5 B4 ?/ ~7 C8 u6 _
右击网站所在文件夹--安全选项,加入everyone,internet来宾帐号(IUSR...)用户确定,然后重新启动IIs,未成功请尝试以下方法修复。" X+ i/ h5 d; T
二、系统没有开启FSO组件.
* i) a2 X2 R) Y; X* ?4 h h运行cmd命令
, V" C' Z5 }0 y, E! Y启用FSO命令:RegSvr32 %windir%\SYSTEM32\scrrun.dll
. U3 K( O5 L* d! o# f' B$ M重新注册FSO文件管理 regsvr32 "C:\Program Files\Common Files\System\ado\msado15.dll", `4 _* \) N9 x: A' Y8 R% [
重新注册ADODB.Stream组件3 h8 u. X/ V3 d4 U* A" O
三、如果上述两法仍未解决,则可能是其它原因,不仿试试下面bat批处理代码。将下面代码复制到记事本,另存为 cmd.bat,双击运行就可以了。0 q$ j" g$ F( ~ N0 P
echo 正在修复,这个过程可能需要几分钟,请稍候……9 K4 F) W+ j0 e+ m
rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%\System32\dacui.dll% k. b2 A* a" K0 E( D4 g2 i
rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%\Catroot\icatalog.mdb/ c) R! M! |9 N% m" V9 U$ E
regsvr32 /s comcat.dll
" h; }# g- k# w" e" vregsvr32 /s asctrls.ocx
( Y' [" l" p8 T+ S$ R; Y6 ^; R8 Fregsvr32 /s oleaut32.dll
( g5 K+ @3 i d6 D' |+ A" Rregsvr32 /s shdocvw.dll /I
# u- c0 [7 N$ }4 i: ?& M* \regsvr32 /s shdocvw.dll
+ E3 l1 f- `6 k+ Uregsvr32 /s browseui.dll
6 i; ~; P7 d0 J; @4 ?regsvr32 /s browseui.dll /I; x% ~! P% q. n& O1 ?/ ^
regsvr32 /s msrating.dll
8 x7 n) v! S) K: c# Qregsvr32 /s mlang.dll
! u I* \1 W- q2 ]regsvr32 /s hlink.dll" H( A u+ U1 K8 D/ Y& w
regsvr32 /s mshtml.dll5 k$ |/ @/ r) Q% D5 q8 u
regsvr32 /s mshtmled.dll
& B H& _$ g# v$ O* ?* tregsvr32 /s urlmon.dll) _4 V! n: ^4 ?* s- Y
regsvr32 /s plugin.ocx$ C3 W5 U% _& h A. y, n
regsvr32 /s sendmail.dll
$ w3 b8 `& T+ g3 @ uregsvr32 /s mshtml.dll /i6 y& I& @$ ^# \$ ]& O
regsvr32 /s scrobj.dll! D# [% E1 E6 _# X8 Y: X
regsvr32 /s corpol.dll
5 |* k- Q) D, f$ L0 I* P1 Hregsvr32 /s jscript.dll2 T5 l3 p5 ], A3 k4 \
regsvr32 /s msxml.dll3 d$ h* O& K, _) J
regsvr32 /s imgutil.dll
# _# r4 X( _, S8 oregsvr32 /s cryptext.dll& M3 w9 S- O. m2 ^6 p: s% G
regsvr32 /s inseng.dll
; Z! Z7 ^; o2 B9 t9 E' ~regsvr32 /s iesetup.dll /i9 F" H5 n, P3 T
regsvr32 /s cryptdlg.dll) Q. e8 }' g) b5 @ s2 h7 c
regsvr32 /s actxprxy.dll
- n3 a+ V; f e3 w9 ]! ^regsvr32 /s dispex.dll
! w) I" ?! o. c* [5 lregsvr32 /s occache.dll8 o1 i6 P2 z' k6 E! u
regsvr32 /s iepeers.dll6 x; y+ S3 ?! i* ~( D
regsvr32 /s urlmon.dll /i6 X6 T6 E1 J# p8 X. a
regsvr32 /s cdfview.dll
# i- H- o3 S- Aregsvr32 /s webcheck.dll. f% \% R$ k; p3 d' h
regsvr32 /s mobsync.dll
& }! T, I/ |1 U1 `8 _regsvr32 /s pngfilt.dll. |* M8 ~/ ~1 o2 s0 ]: I
regsvr32 /s licmgr10.dll: ?. o# N# `- M
regsvr32 /s hhctrl.ocx w' r; [6 ^8 W8 b4 g0 ?& }
regsvr32 /s inetcfg.dll l0 t% C) `& a+ c/ r2 ?0 Z
regsvr32 /s trialoc.dll+ y/ m: h: G' M7 F6 i! x! l
regsvr32 /s tdc.ocx
# m' f1 T/ G6 i) Xregsvr32 /s MSR2C.DLL
6 v" z9 q; r% gregsvr32 /s msident.dll
. [1 ^' s# B' r5 @9 d. C. m$ mregsvr32 /s msieftp.dll
3 z( P" G; Z5 Y" y1 d# i$ E3 u0 lregsvr32 /s xmsconf.ocx
- E' j. A3 I J: X# P; Vregsvr32 /s ils.dll. b. G; ?; M; S! R) U& P
regsvr32 /s msoeacct.dll5 i* W8 Y. ^* K
regsvr32 /s wab32.dll: V8 H5 T/ Q, v d: w8 o ?% g9 F) x
regsvr32 /s wabimp.dll4 Q! `; h% l$ s# v% }* ~
regsvr32 /s wabfind.dll, q9 ^$ \4 M. y/ P4 v
regsvr32 /s oemiglib.dll
& [9 V! N) q# ^8 bregsvr32 /s directdb.dll8 l/ z2 C; O( x7 g$ v
regsvr32 /s inetcomm.dll+ P! Q* {3 i: Q7 r( |; t
regsvr32 /s msoe.dll8 [5 X: L' F; c' `1 U! T) {5 ~! v
regsvr32 /s oeimport.dll
. L- Z0 k1 T5 i8 c/ k, Eregsvr32 /s msdxm.ocx8 A4 Q* S( k) h+ _; o* N4 _
regsvr32 /s dxmasf.dll; h( T& P L8 c
regsvr32 /s laprxy.dll1 n0 e9 _/ u+ m& f# G
regsvr32 /s l3codecx.ax, o {1 ^ t0 V! v6 ?
regsvr32 /s acelpdec.ax7 {! X$ `' w' D. H5 ]- V: D3 z
regsvr32 /s mpg4ds32.ax! b/ }+ ?( i* U% W
regsvr32 /s danim.dll
: w i7 X5 L& ?6 P+ [regsvr32 /s Daxctle.ocx
+ C- ], ^* J$ g1 n+ E$ W, }; O* iregsvr32 /s lmrt.dll
- C! T/ D! E: W. r9 P- x- cregsvr32 /s datime.dll
* g* g) a/ R7 C0 ]3 y* ^' yregsvr32 /s dxtrans.dll3 L1 B3 V5 Z4 T6 R& I
regsvr32 /s dxtmsft.dll$ d; n0 p" ~+ Y
regsvr32 /s wshom.ocx
) C& `; x7 U+ t9 m0 o/ V6 f, oregsvr32 /s wshext.dll9 z$ U8 X- a4 K$ m( H
regsvr32 /s vbscript.dll
+ U- U+ v3 f* o5 s2 a, t* iregsvr32 /s scrrun.dll mstinit.exe /setup
( w/ i+ v; E8 U; r A* P% kregsvr32 /s msnsspc.dll /SspcCreateSspiReg# j' z# \3 r9 d. n0 o
regsvr32 /s msapsspc.dll /SspcCreateSspiReg
- E' w. `/ ]; x2 wecho.
" s0 x) t% i8 Wecho." G! M( m, ~$ _& [. _
echo 修复成功!任意键退出!4 I8 q$ `; c2 _6 }
pause>nul1 q9 [' \/ C$ {! [9 y. y
四、如果没有解决问题,建议重装IIS,还有问题的情况下就只能重装系统了。5 ]& C. G$ u& @9 f6 \7 g
& `) T+ o- o+ p5 f) `& fPS:0 F$ \2 J6 E+ b# V4 _5 d" P$ q% I
方法一设置了权限没用,然后用方法二,紧接着就是方法三,回头一看aspcms的页面自动刷新正常了。果然是组件的问题,至于是FSO还是其他的就难说了,反正是解决了,出问题可以一步一步来,做完一步测试看看,就知道是哪儿的问题了。
- h" u- ~& B0 W. L9 r+ y X$ E/ T/ P! Z
如果用完以上办法后,运行iis仍然出错
# W8 r6 t; r+ ^5 L; e右键IE桌面图标--->属性--->高级--->去掉“显示友好http错误信息”前面的勾--->再运行的IIS,提示“ASP0201错误”
2 |7 K: n- @( f9 O3 A& j; J下载下面的绿色软件 iisfixer [IIS的修复工具] 就能解决问题' G0 | C% K; }! _
IIsfixer.rar
(1.07 MB, 下载次数: 0)
7 C) \& f$ G2 W
: Q* S0 l# a0 c, w8 Y4 ]9 _" n4 `. u8 k- Z% |( B4 F! S$ P8 I
|
|