Cannot create folder in IIS

Results 1 to 2 of 2

Thread: Cannot create folder in IIS

  1. #1
    Join Date
    Dec 1969

    Default Cannot create folder in IIS

    Hi all,<BR><BR>Using FileSystemObject, I can tell ASP to create a folder on the local server (Win98). However, I cannot do it on the IIS. I can only do "FolderExists" but not create/get. Does anyone have a clue on this subject, please share with me. <BR><BR>my code looks something like this:<BR><BR>Set MyFileObject=Server.CreateObject("Scripting.FileSy stemObject")<BR>if not MyFileObject.FolderExists(Server.MapPath("/roomates/" & Name & "")) then<BR><BR>Set MyFolder=MyFileObject.CreateFolder(Server.MapPath( "/roomates/" & Name & ""))<BR><BR>End If<BR><BR>Did I make it correctly? Do you think of permission issues?<BR><BR>Thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: Cannot create folder in IIS

    You may have already done this but..<BR>Have you checked that the iuser_machinename (or whatever user you are impersonating) has access to the folder you are trying to access? if not, then set the iuser with permissions and you should be able to create etc...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts