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

Last reviewed: April 30, 1996
Article ID: Q114293
The information in this article applies to:
  • Microsoft FoxPro for Windows, version 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 reference words: FoxDos FoxWin 2.60 errmsg err msg catman assist
a: b:
KBCategory: kbother kberrmsg kbprb
KBSubcategory: FxtoolCatman


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 30, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.