PRB: "Error 1002 (I/O Operation Failure)" When Starting CatMan

ID: Q114293


The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.6, 2.6a
  • Microsoft FoxPro for MS-DOS, version 2.6


SYMPTOMS

When Catalog Manager attempts to run, one of the following system errors is displayed:

FoxPro for Windows
------------------
System Error
Cannot read from drive <drive_letter>.
Choose Cancel.
Next, the following FoxPro error displays:
Error 1002 (I/O operation failure) occurred in CONTROL.
Catalog Manager cancelled.
Choose OK. FoxPro returns to the Command window.
FoxPro for MS-DOS
-----------------
Not ready reading drive <drive_letter>
Abort, Retry, Fail?
Choose Abort or Fail. A dialog box that prompts you to select a catalog is displayed.


CAUSE

The last catalog used was saved to a floppy disk (or another removable media device). The next time Catalog Manager starts, it attempts to load the same catalog. If the floppy disk containing that catalog is not available, Catalog Manager can't load the catalog.


WORKAROUND

Do one of the following to avoid this error message:

  • Insert the floppy disk containing the catalog last used by Catalog Manager in the floppy disk drive.

    -or-


  • Delete the record in the resource files (usually FOXUSER.DBF and its associated memo file, FOXUSER.FPT) used by Catalog Manager to determine which catalog was last used.

    CAUTION: Make a backup copy of the resource files before proceeding.
    FoxPro for Windows
    ------------------
    Type the following in the Command window to delete this record:
    
             res = SYS(2005)   && Get name of resource file
             SET RESOURCE OFF
             USE (res)
             DELETE FOR TYPE='PREFW' ;
               AND ID='CATALOG' AND NAME='Catalog Name'
             PACK
             USE
             SET RESOURCE ON 
    FoxPro for MS-DOS
    -----------------
    Type the following in the Command window to delete this record:
    
             res = SYS(2005)   && Get name of resource file
             SET RESOURCE OFF
             USE (res)
             DELETE FOR TYPE='PREF2.5' ;
                AND ID='CATALOG' AND NAME='Catalog Name'
             PACK
             USE
             SET RESOURCE ON 
    -or-


  • Rename or delete (see "CAUTION" below) the resource files. Catalog Manager uses the resource file to determine which catalog was last used.

    CAUTION: The resource files contain information about system and user- defined resources such as keyboard macros, preferences, system window locations and sizes, and so on. Deleting these files may cause the loss of information used by some FoxPro operations.



STATUS

This error was corrected in FoxPro for Windows version 2.6a.


MORE INFORMATION

Steps to Reproduce Problem

  1. If the Catalog Manager is not displayed, choose Catalog Manager from the File menu.


  2. If prompted to select a catalog, choose New.

    If a catalog automatically opens (or is already open), choose New Catalog from the File menu.


  3. Insert a floppy disk in drive A. Save the catalog as TEST.FPC on drive A.


  4. Quit Catalog Manager, returning to the Command window.


  5. Remove the floppy disk from drive A. From the File menu, choose Catalog Manager.


Additional query words: FoxDos FoxWin errmsg err msg catman assist a: b:


Keywords          : kberrmsg FxtoolCatman 
Version           : 2.60 2.60a | 2.60
Platform          : MS-DOS WINDOWS 
Issue type        : 


Last Reviewed: August 9, 1999
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.