Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you set the mode in btrieve 6.15

Status
Not open for further replies.

ewallace

MIS
Feb 20, 2008
1
US
I am getting a btriever 2088 error when one workstation accesses the database. This is an incompatible mode error. I need to know how to fix it. Thanks
 
A status 88 generally occurs when two users opens a particular Btrieve file in different modes. If the first user in specifies exclusive mode, and the next user tries to use any other mode, they'll get this error. In almost all cases, there's nothing you can do to control this; the application decides what Open Mode it specifies in the code, and you'd have to change the code for it to use a different open mode.

The other cause of an 88 is if two workstations try to open the same file in a different "sharing" mode. Btrieve 6.15 supports MEFS (Multi-Engine File Sharing) and SEFS (Single-Engine File Sharing). A given file can only be opened by multiple users if they are both using MEFS.

SEFS/MEFS is a configuration option on the workstation; it can be specified in an application to override the config option, but this is rare. By default, SEFS is used when you are accessing local files, and MEFS is used when accessing remote files, where remote means "on any other machine in the network".

So, you may want to make sure you're configured for MEFS on all your workstations. This configuration option is stored in different places depending on which engine you're using. For the DOS engine, it's in BTI.CFG in the same directory the engine loads from. For the Windows engine, it's in BTI.INI in your Windows directory. For the Win32 engine, it's in the registry. Each of the engines comes with a "Setup" utility that lets you set the configuration parameters. If you can't find the setting, let me know which engine you're using and I'll get you more info.

Linda
Pervasive Software Support
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top