|The system cannot find the file specified error when saving to a wwwroot subdirectory |
When saving uploaded files to a sub-directory
of the c:\Inetpub\wwwroot directory with AspUpload, the methods Upload.Save
may generate the following error:
The system cannot find the file specified.
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 instantly fix this problem by giving the "Everyone" account Full Control over
the upload directory, then tighten security as appropriate. To change permissions
on a folder, right-click on it in Windows Explorer, then select Properties/Security.
Created: 6/20/2002 11:57:55 AM
Last Modified: 6/20/2002 11:57:55 AM
Copyright © Persits Software, Inc. 1998 - 2022
For technical support, write to email@example.com.