First Attempt Error - Permission Denied

Last post 11-28-2011, 11:51 AM by jswidorski. 3 replies.
Sort Posts: Previous Next
  •  11-23-2011, 1:33 PM 71607

    First Attempt Error - Permission Denied

    Not sure what I am doing wrong.  Is there documentation for errors like this?  Have not purchased yet, though when I get this working I definitely will.

     
    Scripting.FileSystemObject

    error '80040401'

    Permission Denied

    /documents/aspuploader/resources/coreimpl.js, line 1

    ----------------------
     
    Dim uploader   
    Set uploader=new AspUploader
    uploader.Name="myuploader"
    uploader.SaveDirectory="/upload/" &u_key
    uploader.AllowedFileExtensions="*.jpg,*.png,*.gif"  
    uploader.Render()
    uploader.GetString() 
     
  •  11-24-2011, 7:29 AM 71615 in reply to 71607

    Re: First Attempt Error - Permission Denied

    Hi jswidoski,
     
    Remove uploader.SaveDirectory="/upload/" &u_key, does it work?
     
    If work, mean that your site has not the write/read permission of the folder you set.
     
    If does not work, try give the full permission to user "Everyone" of folder "C:\Windows\Temp" and try again.
     
    Regards,
     
    Ken
  •  11-28-2011, 10:03 AM 71687 in reply to 71615

    Re: First Attempt Error - Permission Denied

    I am on an ISP so I don't have access to any temp directories.
     
    I have the following directory structure
     
    web directory
      aspuploader
      upload
     
    So that is why I used /upload/directory (for individual directory, it has authority for upload, tested with
    non-async file upload. 
     
    Do I need to do a server.mappath or something?
     
    Thanks. 
  •  11-28-2011, 11:51 AM 71692 in reply to 71687

    Re: First Attempt Error - Permission Denied

    I moved to one of my other websites and it works.  Just got to get it working with 1and1.com
     
    Thanks.
     
View as RSS news feed in XML