Dela via


Path/File access error

During a file-access or disk-access operation, the operating system could not make a connection between the path and the file name.

To correct this error

  1. Make sure the file specification is correctly formatted. A file name can contain a fully qualified (absolute) or relative path. A fully qualified path starts with the drive name (if the path is on another drive) and lists the explicit path from the root to the file. Any path that is not fully qualified is relative to the current drive and directory.

  2. Make sure that you did not attempt to save a file that would replace an existing read-only file. If this is the case, change the read-only attribute of the target file, or save the file with a different file name.

  3. Make sure you did not attempt to open a read-only file in sequentialOutputor Append mode. If this is the case, open the file in Input mode or change the read-only attribute of the file.

  4. Make sure you did not attempt to change a Visual Basic project within a database or document.

See Also

Concepts

Types of Errors