当前位置: 首页 > 图文教程 > 网络编程 > ASP > ASP错误解决:800a003a错误

ASP
ASP字符串大写转换成小写 ASP小写转换成大写 ucase lcase
asp base64加解密函数代码
Discuz!NT 论坛整合ASP程序论坛
discuz 2.0整合asp系统,用户添加函数
P3P 和 跨域 (cross-domain) cookie 访问(读取和设置)
通过asp程序来创建access数据库
检查access数据库中是否存在某个名字的表的asp代码
asp #include file 与 #include virtual 的区别小结
一个带采集远程文章内容,保存图片,生成文件等完整的采集功能
asp 横排显示数据
asp base64 utf-8为了兼容asp.net的base64
两个非常规ASP木马(可躲过扫描)
asp DateDiff实现文字在特定时间后消失
ASP所有的Session变量获取实现代码
关于ASP eof与bof 区别分析
asp ajax注册验证之 防止用户名输入空格
asp sqlserver 执行存储过程返回记录集报对象关闭时不允许操作
ASP 获取文件扩展名函数getFileExt()
asp 简单分页代码
asp删除mssql数据库中没有记录的图片代码

ASP错误解决:800a003a错误


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-28   浏览: 54 ::
收藏到网摘: n/a

参照其他文件修改的,网站终于恢复正常,不懂程序,所以不知道原理,大致是加个判断吧。
原来的代码:

For p=1 to mpage step 1
dim fso,ktemplate,kyp
set fso=createobject("scripting.filesystemobject")
set ktemplate=fso.opentextfile(server.mappath("../muban/create_html.asp"))
kyp=ktemplate.readall
ktemplate.close
set ktemplate=nothing
fso.CreateFolder(server.mappath("..\diqu"&address))
if s_id=0 then
...

修改后的代码:

For p=1 to mpage step 1
dim fso,ktemplate,kyp
set fso=createobject("scripting.filesystemobject")
set ktemplate=fso.opentextfile(server.mappath("../muban/create_html.asp"))
kyp=ktemplate.readall
ktemplate.close
set ktemplate=nothing
if fso.FolderExists(server.mappath("..\diqu"&address)) then
'
else
fso.CreateFolder(server.mappath("..\diqu"&address))
end if
if s_id=0 then
...