SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot matches's Avatar
    Join Date
    Aug 2006
    Posts
    196
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    filesystemobject need permissions

    How do you set the permissions to allow filesystemobject? I have already gone into iis and set the write permissions but that did not do it.

    Thanks for any help!


    Code:
    set fso = createobject("scripting.filesystemobject")
    
    Set act = fso.CreateTextFile(server.mappath(file_being_created), true)

  2. #2
    SitePoint Zealot
    Join Date
    Aug 2006
    Location
    NY, USA
    Posts
    141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by matches
    How do you set the permissions to allow filesystemobject? I have already gone into iis and set the write permissions but that did not do it.

    Thanks for any help!


    Code:
    set fso = createobject("scripting.filesystemobject")
    
    Set act = fso.CreateTextFile(server.mappath(file_being_created), true)
    You need to set write permissions to the folder you want to create the text file in, you might have to do it with Windows Permissions along with IIS permissions.

  3. #3
    SitePoint Zealot matches's Avatar
    Join Date
    Aug 2006
    Posts
    196
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nope... Still says permission denied.

  4. #4
    Original Gangster silver trophy Thing's Avatar
    Join Date
    Oct 2000
    Location
    Philadelphia, PA
    Posts
    4,708
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Here is a great tutorial for permissions:

    http://www.webwizguide.info/asp/faq/...ermissions.asp

  5. #5
    SitePoint Zealot
    Join Date
    Aug 2006
    Location
    NY, USA
    Posts
    141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Thing
    Here is a great tutorial for permissions:

    http://www.webwizguide.info/asp/faq/...ermissions.asp
    Agreed, I'm 100% sure its a Windows/IIS permissions issue...because it occurs when you try to create a text file, so it's looking for write permissions on the IUSR account.


Bookmarks

Posting Permissions

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