Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CreateFolder Permission Denied - Tried Everything!

Status
Not open for further replies.

CJAI

MIS
Oct 21, 2003
224
US
I'm getting the dreaded "Permission Denied" error when trying to create a folder using FSO in the following line:
Code:
set Folder = FSO.CreateFolder(Server.MapPath("/zip/") & SiteName)

I have tried giving every permission that I can think of write access to the folder that I am creating in and I still cannot get it to work.

Any help is greatly appreciated as I am beginning to get pretty frustrated with this issue.

Thanks in advance!
 
The account you need to give write permissions is your IUSR_SERVER account or the local user account you are logging on with if your running it locally.

Also I think your command should read:

set Folder = FSO.CreateFolder(Server.MapPath("zip/" & SiteName))

where the SiteName is within the MapPath function.

Nick (Webmaster)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top