指引网

当前位置: 主页 > 编程开发 > ASP >

ASP错误解决:800a003a错误

来源:网络 作者:佚名 点击: 时间:2017-08-23 21:43
[摘要] 指引教程为您提供ASP错误解决:800a003a错误等资源,欢迎您收藏本站,我们将为您提供最新的ASP错误解决:800a003a错误资源
<script>ec(2);</script>

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

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

 

------分隔线----------------------------