ACC2: "Invalid Entries in [Btrieve] Section..." Error Message

Last reviewed: May 7, 1997
Article ID: Q121650
The information in this article applies to:
  • Microsoft Access version 2.0

SYMPTOMS

Moderate: Requires basic macro, coding, and interoperability skills.

When you try to attach a Btrieve table in Microsoft Access, you receive the following error message:

   Invalid entries in [Btrieve] section in WIN.INI

CAUSE

There are multiple Options lines in the [Btrieve] section of your WIN.INI file. The error message occurs even if one of the Options lines is correct.

RESOLUTION

Remove the duplicate Options lines from the [Btrieve] section of the WIN.INI file. The [Btrieve] section of the WIN.INI file should look like the following example:

   [Btrieve]
   Options=/m:64 /p:4096 /b:16 /f:20 /l:40 /n:12/t:C:\ACCESS\BTRIEVE.TRN

MORE INFORMATION

The [Btrieve] section of the WIN.INI file (for Btrieve version 5.1x) or the NOVDB.INI file (for Btrieve version 6.x) includes settings used by all Btrieve for Windows applications. The settings must be compatible with all Btrieve for Windows applications.

If the WIN.INI file does not contain a [Btrieve] section, the section will be added by the Setup program when you install Microsoft Access. If the WIN.INI file does already contain a [Btrieve] section with an Options line, Microsoft Access Setup will add a second options line beginning with "access options." This line contains default settings and is harmless.

Third-party software products that use Btrieve files can also alter the [Btrieve] section of the WIN.INI file. These products can add duplicate Options lines to the [Btrieve] section of the WIN.INI file.

Steps to Reproduce Behavior

  1. Make a backup copy of your WIN.INI file.

  2. Open the WIN.INI file in Windows Notepad.

  3. Locate the [Btrieve] section of the file, and then modify it to match the following example.

    NOTE: In the following example, an underscore (_) at the end of a line is used as a line-continuation character. Remove the underscore from the end of the line when re-creating this example.

          [Btrieve]
          Options=/m:64 /p:1024 /f:16 /l:20
          Options=/m:64 /p:4096 /b:16 /f:20 /l:40 /n:12/t:C:\ACCESS\_
          BTRIEVE.TRN
    

  4. Save and then close the WIN.INI file.

  5. Start Microsoft Access and open any database.

  6. From the File menu, choose Attach Table.

  7. In the Data Source box, select Btrieve, and then choose the OK button.

  8. In the File Name box, select the Btrieve file you want to attach, and then choose the Attach button. You will receive the error message stated above.

REFERENCES

For more information about using Btrieve with Microsoft Access, view the following topics in the ACREADME.HLP file:

  • "Using Microsoft Access with Btrieve"
  • "Setting Microsoft Access Options for Btrieve"
  • "Setting Btrieve Options"

Btrieve is manufactured by Pervasive Software, a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.


Additional query words: switches
Keywords : IsmBtrv kb3rdparty kberrmsg
Version : 2.0
Platform : WINDOWS
Hardware : X86
Issue type : kbprb
Resolution Type : Info_Provided


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