B
Bren
In the code below I'm trying to create a directory. It works on the
production server, but it doesn't on my dev server; I'm running XP Pro, but
I don't belong to a domain; I'm running it in a workgroup instead. I've
enabled the write option in IIS on the directory.
Because I'm not in a domain, there's no security tab on the property dialog
for the folder in Windows Explorer, so I can't assign IUSR access right
there. Do you have any suggestions to give access rights?
Maybe the failure on my machine is not access rights, but something else,
because on the production server, before I was granted permission, I got an
access rights denied browser error message, but on my machine, there was no
error message; the browser just hangs on the CreateFolder command.
Thanks for any help you can offer.
Bren
sPath = Server.MapPath("\") & "\app\test"
Set fso = CreateObject("Scripting.FileSystemObject")
If not(fso.FolderExists(sPath)) Then
Set f = fso.CreateFolder(sPath)
Response.write(f.Path)
end if
production server, but it doesn't on my dev server; I'm running XP Pro, but
I don't belong to a domain; I'm running it in a workgroup instead. I've
enabled the write option in IIS on the directory.
Because I'm not in a domain, there's no security tab on the property dialog
for the folder in Windows Explorer, so I can't assign IUSR access right
there. Do you have any suggestions to give access rights?
Maybe the failure on my machine is not access rights, but something else,
because on the production server, before I was granted permission, I got an
access rights denied browser error message, but on my machine, there was no
error message; the browser just hangs on the CreateFolder command.
Thanks for any help you can offer.
Bren
sPath = Server.MapPath("\") & "\app\test"
Set fso = CreateObject("Scripting.FileSystemObject")
If not(fso.FolderExists(sPath)) Then
Set f = fso.CreateFolder(sPath)
Response.write(f.Path)
end if