ACC: "Unexpected Error from External Database Driver [22]"

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

SYMPTOMS

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

When you try to open an attached Btrieve table, you receive the following error message:

  Unexpected error from external database driver [22]

CAUSE

Btrieve returns this error message when there is a mismatch between the FIELD.DDF file and the Btrieve data table. This problem usually occurs when the internal structure of the Btrieve table has been changed without corresponding changes having been made to the FIELD.DDF file. The Xtrieve manual lists this error with the following description:

   22  Data buffer length too short
       The data buffer parameter is not long enough to accommodate the
       length of the data record defined when the file was created.
       Verify that the length of the data buffer is at least as long
       as the file's defined record length.

RESOLUTION

Make sure that the internal structural definition of the Btrieve table is the same as the FIELD.DDF file. This can be done using Novell's Xtrieve program or a third-party DDF builder to update the FIELD.DDF file.

MORE INFORMATION

The third-party products discussed here are manufactured by vendors independent of Microsoft; we make no warranty, implied or otherwise, regarding these products' performance or reliability.

REFERENCES

For a complete list of Xtrieve error messages, refer to the Novell Xtrieve manual, Appendix A.


Keywords : IsmBtrv kb3rdparty kberrmsg
Version : 1.1 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.