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

ASP
asp 网站静态化函数代码html
asp利用Split函数进行多关键字检索
ASP动态include文件
用ASP开发网页需要牢记的注意事项
利用ASP发送和接收XML数据的处理方法
Session对象失效的客户端解决方法
一次性下载远程页面上的所有内容
asp模板引擎终结者(WEB开发之ASP模式)
浅谈 ASP 模板技术之参数传递
本人常用的分页代码
也谈采集入库的技术
简单分页函数一 常用
msxml3.dll 错误 ''800c0005''解决方案
[原创]本人常用的asp代码
生成所有页面的效果+分页生成
[原创]关于Script的Defer属性
[原创]asp截取字符串的两种应用
内容分页函数
[ASP]精华代码
asp提高首页性能的一个技巧

ASP错误解决:800a003a错误


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-28   浏览: 50 ::
收藏到网摘: 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
...