没有权限 serverMapPath
</head><body>
<%
Set fso=Server.CreateObject("Scripting.FileSystemObject")
Set filename = fso.CreateTextFile(("fso.txt"),true)
Set filename = fso.CreateTextFile(Server.MapPath("fso.jpg"),true)
Set filename = fso.CreateTextFile(Server.MapPath("fso.htm"),true)
Set filename = fso.CreateTextFile(Server.MapPath("fso.doc"),true)
Set filename = fso.CreateTextFile(Server.MapPath("fso.swf"),true)
Set filename = fso.CreateTextFile(Server.MapPath("fso.exe"),true)
filename.close
Response.Write("文件已创建完成<BR>")
%>
</body>
</html>
解决了。修改权限设置
[ 本帖最后由 话真尘 于 2010-10-17 17:40 编辑 ]