FIX: "Cannot Read from Drive" Error with FoxPro Distribution Kit

ID: Q120246


The information in this article applies to:


SYMPTOMS

When an .EXE file that was created with the FoxPro Distribution Kit is executed, one of the following error messages is displayed:

Cannot read from drive <drive name>
-or-
Error reading drive <drive name>
This problem occurs when the .EXE file is executed on a machine other than the machine on which it was created.

NOTE: In addition to the above error, when the same problem occurs on Windows NT, an "I/O operation failed" error message is returned.


CAUSE

The .EXE file was created on a computer with drive letters higher than C.

Physical and logical drive types that can cause this problem include the following:

This problem can also occur on systems with more than one physical hard disk drive.


RESOLUTION

Create the .EXE file on a computer that does not have a drive letter higher than C. The computer on which the .EXE file is created should not have any physical or logical drives other than drive C.

NOTE: There are several potential causes for this problem. Some of these causes are documented in other Knowledge Base articles. If the resolution documented in this article does not resolve the problem, please see the following articles in the Microsoft Knowledge Base:

Q108165 ERR: Cannot Read from Drive <Drive Letter>
Q114293 BUG: "Error 1002 (I/O Operation Failure)" When Starting CatMan


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0 for Windows.


MORE INFORMATION

This problem does not affect all systems with drives higher than C:. If you currently have a drive higher than C: on your system, you may not encounter this problem. This article is intended to provide assistance to customers who do encounter this problem or who want to minimize the potential for problems with an application that will be distributed with the Distribution Kit.

Additional query words: VFoxWin 3.00 Fixlist3.00 FoxDos FoxWin buglist2.00 buglist2.50 buglist2.50a buglist2.50b buglist2.60 buglist2.60a 2.50 2.50a 2.50b 2.60a real virtual errmsg


Keywords          : kberrmsg FxnetworkGeneral 
Version           : 2.5x 2.6x | 2.00 2.5x 2.60
Platform          : MS-DOS WINDOWS 
Issue type        : 

Last Reviewed: August 3, 1999