Reason 1: The specified path cannot be found by the system.
If you are using the Save method, you must pass a full
existing physical path, not a virtual path or URL, for example:
If you are using SaveVirtual, you must pass a virtual path.
The SaveVirtual method internally converts the specified virtual
path into a physical path using the built-in Server.MapPath method. For example:
' Save to virtual directory "upload"
' Save to root directory
' Save to current directory
In both cases, you must make sure the physical path to be used exists on your server.
Reason 2: Lack of permissions.
This error may occur when trying to save to
the IIS home directory at c:\InetPub\wwwroot or in a path underneath it.
Despite what the error message says, the problem is caused by a lack of permissions
rather than an invalid path. For more information,
see the following article:
PS01032618: 800A0005 Access is denied error