请高手赐教啊,给28分好吗,应该是很简单的啊!

shyboy139 2001-12-02 12:05:51
服务器对象 错误 'ASP 0177 : 800401f3'

Server.CreateObject 失败

/lianxi/test01/01.asp, 行2

800401f3
这个问题该如何解决啊
...全文
135 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
julyclyde 2001-12-06
  • 打赏
  • 举报
回复
创建了你把系统文件搞坏怎么办!所以不可以随便创建
shyboy139 2001-12-05
  • 打赏
  • 举报
回复
fso为什么不能随便创建呢,它是什么意思呢?请高手赐教啊,现在也不能给分真麻烦啊?
crodling 2001-12-02
  • 打赏
  • 举报
回复
贴出原码看一下吧
CTBOK 2001-12-02
  • 打赏
  • 举报
回复
没有代码,看个屁啊?
wxt 2001-12-02
  • 打赏
  • 举报
回复
file_Path = Server.MapPath(FileName)改成
file_Path = Server.MapPath("/"&FileName)
julyclyde 2001-12-02
  • 打赏
  • 举报
回复
fso不能随便创建
julyclyde 2001-12-02
  • 打赏
  • 举报
回复
fso不能随便创建,有危险
shyboy139 2001-12-02
  • 打赏
  • 举报
回复
代码就是:
<%
adindex = Request("index")
FileName = "Record" & Month(Date()) & Day(Date()) & ".txt"
set fs = Server.CreateObject("Scripting.FileSystemObject")
file_Path = Server.MapPath(FileName)
Set RecordFile = fs.OpenTextFile(file_Path, 8 ,True, 0)

RecordFile.WriteLine adindex

if adindex = 1 then Response.Redirect "ff.htm"
if adindex = 2 then Response.Redirect "dd.htm"
%>

28,406

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧