PRB: Cannot Read from Drive <Drive Letter>

Article translations Article translations
Article ID: 108165 - View products that this article applies to.
This article was previously published under Q108165
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

SYMPTOMS

Mainframe workstation software that maps drives D and E to hold them for future use when using emulation will cause the following error message to appear when a disk drive cannot be read:
Cannot read from drive <drive letter>.
Use of the MS-DOS Interlnk program and the INTERSVR command is also a source of this message. Interlnk's drive mapping redirects the client system's drives to the next available drive letters of the server. If INTERLNK.EXE is loaded in the CONFIG.SYS file of the client and the server PC is then disconnected, FoxPro will be told that sequential drive mapping exists, when, in fact, there will be no response when FoxPro checks the drives in sequence that were on the connected PC.

CAUSE

Some FoxPro operations appear to scan all consecutive disk drives.

The following operations have been reported to cause this error on computers with a drive that cannot be read:

  • Running an executable file (.EXE) created by the FoxPro Distribution Kit.
  • Opening a project whose home directory points to a drive that cannot be read.
  • Setting a printer driver in FoxPro for MS-DOS.

WORKAROUND

Reassign the drive letter of the device that cannot be read so that it is not in consecutive order with the other drives.

For example, if drive C is a hard disk drive, and drive D is a CD-ROM drive that causes the error message when it does not contain a disc, reassign the CD-ROM drive letter to drive Z.

You may need to either consult the manual for your CD-ROM drive or use the MS-DOS SUBST command. NOTE: Reassigning the drive letter may require the use of the LASTDRIVE=<drive letter> command in the CONFIG.SYS file.

MORE INFORMATION

The following hardware configurations may cause a disk drive to report that it cannot be read:

  • A laptop computer does not have a floppy drive A or B.
  • A CD-ROM drive does not contain a disc.
  • A removable hard disk drive does not contain a hard disk.

Properties

Article ID: 108165 - Last Review: February 27, 2014 - Revision: 2.1
APPLIES TO
  • Microsoft Visual FoxPro 3.0 Standard Edition
  • Microsoft Visual FoxPro 5.0 Standard Edition
  • Microsoft Visual FoxPro 6.0 Professional Edition
  • Microsoft FoxPro 2.5b
  • Microsoft FoxPro 2.5a
  • Microsoft FoxPro 2.5b
  • Microsoft FoxPro 2.5b for MS-DOS
  • Microsoft FoxPro 2.5a
  • Microsoft FoxPro 2.5b for MS-DOS
Keywords: 
kbnosurvey kbarchive kberrmsg KB108165

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com