PRB: Catalog Manager Allows Incorrect File Types to Be Added

Last reviewed: April 30, 1996
Article ID: Q113807
The information in this article applies to:
  • Microsoft FoxPro for Windows, version 2.6
  • Microsoft FoxPro for MS-DOS, version 2.6

SYMPTOMS

Although the file type is not checked when a file is added to the Catalog Manager, the following error message will appear when an attempt is made to open the file from within the catalog:

   Error 18:  (Line too long) at line 84 occurred while running <.CDX>

RESOLUTION

To avoid this problem, make sure that the extension of the file to be added to the Catalog Manager is valid for the selected category. Additionally, avoid renaming files from one extension to another valid yet incorrect file type extension, such as "RENAME myfile.CDX TO myfile.DBF".

MORE INFORMATION

Steps to Reproduce Behavior

  1. Open a catalog.

  2. Select the Query tab and choose the Add button.

  3. In the Add dialog box, select the All Files check box.

  4. Select a .CDX file. When you see the message "Was <.CDX> created in FoxPro?", choose OK.

  5. Try to use the newly added .CDX file in the query list. The error message mentioned above should appear.


Additional reference words: FoxDos FoxWin 2.60 fp26 catman
KBCategory: kbprg 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.