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!

Btrieve 94 errors after vendor supplied new DDF files

Status
Not open for further replies.

theniteowl

Programmer
May 24, 2005
1,975
US
Hi All,
I have two problems that I believe are related. I just know little about Pervasive and need a bit of guidance.

We have a vendor supplied application that uses Pervasive SQL 2000i as the database.
The application runs on a server that has no dev/test environment for me to muddle in.

A while back, for reasons unknown to me the vendor supplied replacement DDF files. I migrated these files to the server as the person who normally supported the application was on vacation. Some weeks later I received a complaint that an Access database that just links to the Pervasive database to do some reporting was giving errors. Upon inspection I found that the macros to create the links was failing because one of the tables no longer seem to exist in Pervasive.
I contacted the company for support and they sent another set of DDF files. When put in place we can no longer see ANY of the tables and get the following error:
ODBC--call failed.
[Pervasive][ODBC Client Interface][LNA][Pervasive][ODBC Engine Interface][Data Record manager]The application
encountered a permission error(Btrieve Error 94) (#-4905)

They told me that it must be a file permissions issue on my end (this is a Windows 2000 server). I checked and permissions are identical on these files as they were on the old ones. When the old files are put back in place everything works except for the one missing table.

The path contains no spaces and as I said, the old files work except for the missing table, and permissions are the same so I suspect there is something wrong with the DDF files they sent. I do not know enough about the structure of these files to do more than guess but since error 94 seems to indicate permissions issues I do not know where else to look. I know some versions could cause permissions errors with spaces in the path but that is not the case here.

Any thoughts on other reasons this would happen? I want to find out what I can so we can avoid a fingerpointing argument with the vendor and just settle in to deal with the problem. The more I know the better I can influence them in the right direction rather than let them delay things saying our settings are wrong.

Thanks.

At my age I still learn something new every day, but I forget two others.
 
A few questions:
- Can you access the DEMODATA database?
- Can you connect to the database and get the list of tables through the PCC?
- Can you access the data locally at the server?
- Are the DDFs and data files in the same directory?
- What happens if you copy the new DDFs to a new directory and create a new test database name entry? Does that work?



Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
 
- Can you access the DEMODATA database?
Yes, Demodata is available.

- Can you connect to the database and get the list of tables through the PCC?
If I put the new DDF files in place I cannot see the tables through PCC but I can with the old ones.

- Can you access the data locally at the server?
Through PCC on the server? No.

- Are the DDFs and data files in the same directory?
I do not know how pervasive stores all of it's info.
What files would I be looking for as the data files?
I think they are in sub folders of the data directory while the DDF files are in the main Data dir.

- What happens if you copy the new DDFs to a new directory and create a new test database name entry? Does that work?
I have not tried this as I did not know what all files are needed to act as a new database. If only the DDF files are needed I could try it out.


At my age I still learn something new every day, but I forget two others.
 
You can copy just the DDFs to create a new DBN. You won't be able to access the tables but you should still see them listed.

Let me read the rest of the message and post again but try the last suggestion (copy the DDFs to a new directory).


Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top