No Such Table or Object Error
No Such Table or Object Error
(OP)
I want to connect to one of our client's machine using psql CC 8.7.
First I tried to connect directly to the ddfs on the server, and I get this error: The Btrieve file directory is invalid[betrieve Error 35]
I made sure that the user had read/write/delete access on the directory. No luck.
Then when I copy the ddfs to a local directory and pointed the database to it, i was able to see the list of tables. However, when I click on the table, I get this error message:
odbc error: sqlstate = s, native error code = 0. No such table or object.
I've rebuilt the ddfs and still no luck.
Can someone point me to the right direction to resloving either of these errors?
Thanks.
First I tried to connect directly to the ddfs on the server, and I get this error: The Btrieve file directory is invalid[betrieve Error 35]
I made sure that the user had read/write/delete access on the directory. No luck.
Then when I copy the ddfs to a local directory and pointed the database to it, i was able to see the list of tables. However, when I click on the table, I get this error message:
odbc error: sqlstate = s, native error code = 0. No such table or object.
I've rebuilt the ddfs and still no luck.
Can someone point me to the right direction to resloving either of these errors?
Thanks.
RE: No Such Table or Object Error
What is the result for the query:
SELECT * FROM X$FILE
It should list all of the tables and the file names. Does the table that doesn't work show just a file name or does it have a path as well as a file name?
Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com
RE: No Such Table or Object Error
On the other machines where I was able to make a database connection to the server, the X$FILE entries show only the file names.
Thanks,
RE: No Such Table or Object Error
If you were at the client, does it work from the server?
On the machines where you access the database but get the "no table" error, what happens if you issue the Select with the table name exactly as it's stored in the X$FILE table?
Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com
RE: No Such Table or Object Error
I'm able to see the contents on the X$FILE table for the database that I get the "no table" error. However if I enter the name exactly as shown on the entry in the X$FILE table I still get the "no table" error.
If I copy the data files and ddfs to the client machine I'm able to access the data, however I'd like to connect to live data and not have to copy every time.