SitePoint Sponsor

User Tag List

Results 1 to 10 of 10

Hybrid View

  1. #1
    ********* obeah makeda's Avatar
    Join Date
    Jun 2001
    Location
    rollin' on dubs
    Posts
    492
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    file system object -- permission denied

    Hey,

    I am trying to use a file system object to open up a text file and read it into my page. It had been working fine but no longer. Now I get an error:

    Microsoft VBScript Runtime(0x800A0046)
    Permission Denied

    I am assuming that a security setting on my browser has something to do with it, but I have tried it with everything enabled and it still doesn't work.

    Has anyone seen this before? If so, what can I do?

    Thanks

  2. #2
    SitePoint Wizard
    Join Date
    Jan 2001
    Location
    Milton Keynes, UK
    Posts
    1,011
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is this on your local system or on a hosted site?

    Some hosts will disable/remove the scripting component for security reasons. I had a similar problem with our hosting company. I'd been using the FSO fine but after they'd moved to a new server they'd disabled the FSO part of the scripting component. It wasn't a huge deal for me as I was able to convert the files I was using to XML format and use the MSXML parser instead.

  3. #3
    SitePoint Wizard big_al's Avatar
    Join Date
    May 2000
    Location
    Victoria, Australia
    Posts
    1,661
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The IUser account needs to have write permission to the directory your trying to interact with
    .NET Code Monkey

  4. #4
    ********* obeah makeda's Avatar
    Join Date
    Jun 2001
    Location
    rollin' on dubs
    Posts
    492
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    shane, this is on my local computer. i am runnging win2000 server with IE 5.5.

    big al, forgive my ignorance, but where do I maintain the Iuser accounts?

    Thanks for all of your help!

  5. #5
    SitePoint Wizard big_al's Avatar
    Join Date
    May 2000
    Location
    Victoria, Australia
    Posts
    1,661
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    In your IIs managment Console, find your web then right click the diesired directory, propertise and permissions (off the top of my head) you should then be able to see what users have what permission. the IUser should be there but might not be, if it is change the permissions to write. if the IUser is not there click "Add User" and then find the IUser account and give it Write permission.

    The IUser is a built in account installed by IIs, any users that are loggin in anonymously to a webpage get logged in to that account
    .NET Code Monkey

  6. #6
    ALT.NET - because we need it silver trophybronze trophy dhtmlgod's Avatar
    Join Date
    Jul 2001
    Location
    Scotland
    Posts
    4,836
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Al, can't you just set permission up for THAT folder, not the account? Wouldn't that be safer?

  7. #7
    ********* obeah makeda's Avatar
    Join Date
    Jun 2001
    Location
    rollin' on dubs
    Posts
    492
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    big al,

    that worked. for the time being i didn't need to go through IIS. i just went to the file's properties, went to security, added 'everyone' and gave them full permissions.

    thanks again.

  8. #8
    SitePoint Wizard big_al's Avatar
    Join Date
    May 2000
    Location
    Victoria, Australia
    Posts
    1,661
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No Problem

    D, Thats what I was telling him to do, "Select the Directory you want write permission for"
    .NET Code Monkey

  9. #9
    ALT.NET - because we need it silver trophybronze trophy dhtmlgod's Avatar
    Join Date
    Jul 2001
    Location
    Scotland
    Posts
    4,836
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh yeah, lol!

    I think I'm going to have to pay more attention!


  10. #10
    SitePoint Wizard big_al's Avatar
    Join Date
    May 2000
    Location
    Victoria, Australia
    Posts
    1,661
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hehehe, happens to the best of us
    .NET Code Monkey


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
  •