I have the following code:
<%
dim deviceid
dim fso
dim outFile
deviceid=Request.QueryString("deviceid")
If deviceid<>"" Then
    Response.Write("Hello " & deviceid & "!<br>")
    Set fso = Server.CreateObject("Scripting.FileSystemObject")
    Set outFile = fso.CreateTextFile("C:\Users\Victor\Desktop\respTank.txt")
    outFile.WriteLine("Hello World!")
    outFile.close
    set outFile = nothing
    set fso = nothing
End If
%>
I get the following error:
Microsoft VBScript runtime error '800a0046' Permission denied
I gave all permissions to IIS_IUSRS but it didn't help. Can anyone help me here?
 
     
     
    