Published by exdone
Posted on December 07, 2007
When saving uploaded files to a sub-directory of the c:\Inetpub\wwwroot directory with AspUpload, the methods Upload.Save or Upload.SaveVirtual may generate the following error:
Despite what the error message says, the problem is caused by a lack of permissions rather than an invalid path. The current user (such as IUSR_machinename) must have Full Control over the upload directory to be able to create files in it. You can fix this by giving the IUSR read,write , execute permissions on the folder your are trying to upload to.