Link to home
Start Free TrialLog in
Avatar of Datadaily
DatadailyFlag for United States of America

asked on

Btrieve file directory is invalid(Btrieve Error 35)

I installed the latest version of a software called Global Shop on a brand new Windows 2008 server. Moved all the dbf's to the proper directory. Made the ODBC connection using 32 and 64 bit odbc drivers. When I try to run the application I get the btrieve error 35 invalid directory error. The file structure is identical to the server that is currently running the older version. the database install Pervasive 11 sp2. Any help appreciated.
Avatar of Bill Bach
Bill Bach
Flag of United States of America image

You need to first determine exactly which folder is bad, and whether there are any embedded spaces in the path name.  See if GlobalShop will report the EXACT filename it is trying to open.  If so, then this is easy.  If not, then it might be tough.

If the path contains any embedded spaces, then make sure that the "Embedded Spaces" option in the PCC is CHECKED.  If it does not, then try UNCHECKING the embedded Spaces setting.  (Reboot after each change.)  Akin to this, if your new server sharename has a space in the path, try changing it to one without a space, too.

If you cannot tell the exact file name, then make sure nobody is using the server and try enabling MKDE Tracing on the server when you open the file.  This MAY tell you the file name, but ONLY if the "right" server is being selected by the client on the workstation.  If it is not detecting the right server, you'll get nothing in the log except the header, which means that the client doesn't have the right drive map, or that the application is using the wrong server name, or that DNS is resolving the server name to the wrong address.

If in doubt, try to open the file from the Pervasive Function Executor.  This should work.  If it does, then the problem is within GlobalShop.  If it also fails, then you've got something else going on...

Post your results & we'll see the next step.
ASKER CERTIFIED SOLUTION
Avatar of Datadaily
Datadaily
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Datadaily

ASKER

It was a proprietary thing.