BUG: "File Is In Use" Error When Opening an Encrypted Table

Last reviewed: January 12, 1995
Article ID: Q124720
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, version 2.6a

SYMPTOMS

A "File Is In Use" error is the result of an attempt to open a table for the second time when the table is encrypted (or included) in an application.

RESOLUTION

Do not include the table in the project, or copy the table in the application to a new file on the hard disk.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

  1. Create a new project.

  2. Create and add a new program containing the following code to the project:

    CLOSE DATABASES USE customer IN 0 AGAIN ALIAS x USE customer IN 0 AGAIN ALIAS y

  3. Add a table named Customer to the project.

  4. Build the project into an application.

  5. Move the application to a directory other than where the data tables are located, and execute it from within FoxPro.


Additional reference words: FoxDos 2.60a buglist2.60a
KBCategory: kbprg kbbuglist
KBSubcategory: FxprgTable


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: January 12, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.