广州流行美盘发培训:Microsoft VBScript 运行时错误 错误 '800a01ad'

来源:百度文库 编辑:高校问答 时间:2024/05/01 22:56:22
Microsoft VBScript 运行时错误 错误 '800a01ad'

ActiveX 部件不能创建对象: 'Scripting.FSO2'

/haihongco/conn/del_file.asp,行 3

del_file.asp代码如下:
<%
sub delfile(file_selected)
Set fso = CreateObject("Scripting.FSO2")
if fso.FileExists(file_selected) then
fso.DeleteFile(file_selected)
end if
clear_fso(fso)
end sub

sub clear_fso(fso)
set fso = nothing
end sub
%>

以前在win2000服务器下可以运行,现在是win2003就不能运行了。