J
Jessard
Hi all,
This seems like a really simple question but I don't think there is a simple
answer. If there is I'd be glad to hear it. I am trying to create a folder,
yep, that's all. I can do it with a vbscript but as soon as I put it in an
asp page and load the page I get an error 500 message. Basically, I am
using...
if (not fso.FolderExists("\\ServerName\Clients\c_" &
request.Querystring(i))) then
fso.CreateFolder("\\ServerName\Clients\c" & request.Querystring(i))
end if
Don't worry about the request.Querystring(i) - it's valid. The script fails
on the fso.CreateFolder line so it gets in the if.
If I change the path to a local server folder then the script works. It has
something to do with the permissions at the server I am placing the folder
at. I check the parent folder permissions where I want to create a new
folder under. It has "Everyone" full access - all boxes ticked. Both
computers, the webserver and the server where the folder is to be created are
on the same domain and can be manually sought out, and a folder created, via
my network places. I am told I need the IUSR account of my webserver added
to the parent folder permissions on the other machine. Is this right?
Can somebody work me through what I can do here?
Thanks,
Jesse
This seems like a really simple question but I don't think there is a simple
answer. If there is I'd be glad to hear it. I am trying to create a folder,
yep, that's all. I can do it with a vbscript but as soon as I put it in an
asp page and load the page I get an error 500 message. Basically, I am
using...
if (not fso.FolderExists("\\ServerName\Clients\c_" &
request.Querystring(i))) then
fso.CreateFolder("\\ServerName\Clients\c" & request.Querystring(i))
end if
Don't worry about the request.Querystring(i) - it's valid. The script fails
on the fso.CreateFolder line so it gets in the if.
If I change the path to a local server folder then the script works. It has
something to do with the permissions at the server I am placing the folder
at. I check the parent folder permissions where I want to create a new
folder under. It has "Everyone" full access - all boxes ticked. Both
computers, the webserver and the server where the folder is to be created are
on the same domain and can be manually sought out, and a folder created, via
my network places. I am told I need the IUSR account of my webserver added
to the parent folder permissions on the other machine. Is this right?
Can somebody work me through what I can do here?
Thanks,
Jesse