I installed and configured Windows IIS server on my computer operating on windows xp
Then I made a test file rdtest.asp with the coding
<%@ Language=VBScript %>
<%
Option Explicit
On Error Resume Next
Response.contentType = "text/html"
If Request("test") <> "test" Then
Response.Write "Post failed."
Response.End
End If
Dim fso, f, p
Err.Clear
Set fso = Server.CreateObject("Scripting.FileSystemObject")
If Err Then
Response.Write "Cannot create scripting object (" & Err.description & ")."
Response.End
End If
p = Server.MapPath("quasktest.txt")
Set f = fso.CreateTextFile(p, True)
If Err Then
Response.Write "Cannot create file (" & Err.description & ")."
Response.End
End If
f.Write "test"
If Err Then
Response.Write "Cannot write to file (" & Err.description & ")."
Response.End
End If
f.Close
If Err Then
Response.Write "Cannot close file (" & Err.description & ")."
Response.End
End If
fso.DeleteFile p
Response.Write "OK"
Response.End
%>
But when I executed, it said
"Cannot create file (permission denied)."
Could anyone please tell me, what is the problem
Jatin