jonathanmb
Technical User
Surely this has been covered in a pervious thread, but searching through the forum continues to timeout for me.
This may be more approprate in a IIS Forum rather than here, but I'm starting here.
I'm receiving an Error 70 Permission Denied error when trying to write/modify a file on the server. The IUSR account does have modify access to the folder, I've even tried giving the account full access with no luck. I've even dumbed down the code to an extremly simple example with no success.
That seems to be about as simple as I can get, and I still receive the Permission Denied error. Are there any other permissions that the IUSR needs in order to write a file to a given folder other than modify permission to the folder the VBScript wants to write to? I must be missing something.
This may be more approprate in a IIS Forum rather than here, but I'm starting here.
I'm receiving an Error 70 Permission Denied error when trying to write/modify a file on the server. The IUSR account does have modify access to the folder, I've even tried giving the account full access with no luck. I've even dumbed down the code to an extremly simple example with no success.
Code:
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile(Server.MapPath("test.txt"), 8, True)
f.Write "test"
f.Close
Set f = Nothing
Set fso = Nothing
That seems to be about as simple as I can get, and I still receive the Permission Denied error. Are there any other permissions that the IUSR needs in order to write a file to a given folder other than modify permission to the folder the VBScript wants to write to? I must be missing something.