The error is occurring on the myRecordSet.Open call.
I was given the IP address by the server admin. If I change the IP, I get a different error...
Unable to connect to the relational engine (is Database Name and Server available?)
...so i assume it is correct
If I change the Data Source to DEMODATA and the table name to Class I get the following error...
Pervasive.SQL V9 OLE DB Provider error '80004005'
[LNA][Pervasive][ODBC Engine Interface][Data Record Manager]Cannot locate the named database you specified(Btrieve Error 2301)
Main Topics
Browse All Topics





by: mirtheilPosted on 2009-08-22 at 10:30:43ID: 25159487
Just to be clear, is the error occurring on the myRecordSet.Open call or on the .Seek?
You mention that the database name is correct and the table exists, can you connect to the server using the "IP_address" value in the PCC and open the database name and table?
I've seen where IP addresses are changed and that could cause that error.
Can you connect to any database? For example if you change the Data Source value to DEMODATA and the table name to Class, does it still fails with the -1305? I've seen problems with DDFs that cause failures using OLEDB (and ODBC).