Solved

Unrecognized database format ????

Posted on 2002-07-25
6
283 Views
Last Modified: 2010-05-02
I have developed a vb system in vb5 and access 97 as database under windows NT. Now i would like to convert my system to vb6, from access 97 to access 2000/XP, and in platform Windows XP. I face some problems during my conversion n one of them is when i run the system it returns me with a msg "Unrecognized database format ???". Why?? Basically, i have already run the Full Service Pack 5, replaces 3 dll file in windows/system folder. These 3 files r p2bdao.dll, p2ctdao.dll and p2irdao.dll.
But, i still stuck in unrecognised database format.....

Does anyone know the solution????
0
Comment
Question by:jetyun
6 Comments
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 7177243
Install either DAO verion 3.6 (download from MS) or ADO verion 2.6(?).

Access 2000 has a different file format from previous versions (especially Access 97) so you need the MOST CURRENT Data access software version.  Verion 3.6 of DAO can open either Access 2000 or Access 97, earlier versions cannot open Access 2000 MDBs.

Arthur Wood
0
 
LVL 2

Expert Comment

by:selim007
ID: 7177249
what r u using to connect ? ADO,DAO,RDO ??
if you are using an activeX component to connect and retrieve data , then make sure that the active X supports the current database version.
if u can tell me how u r connecting and if using an activeX which one , then i can help u
0
 

Expert Comment

by:X14h
ID: 7177251
try using the reference "Microsoft DAO 3.6 Object library" instead the older versions (2.5, 3.5, 3.51)

hope this helps
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 43

Accepted Solution

by:
TimCottee earned 200 total points
ID: 7177253
SO you have effectively installed the appropriate stuff, you still need to change any references in the project to DAO 3.6 or ADO 2.1 (or higher) in order to use the new DLLs etc that you have installed.

There is one additional caveat in that if you are using the standard Data control supplied with VB, you also need to change the .Connect property to Access 2000; instead of Access; as this still uses the older drivers.

You will also need to change any ADO connection string which use Microsoft.Jet.OLEDB.3.51 to Microsoft.Jet.OLEDB.4.0 in order to use the newer jet drivers.
0
 

Author Comment

by:jetyun
ID: 7178934
thanks. i will get back to u experts...
0
 
LVL 5

Expert Comment

by:jayeshshah
ID: 7183669
Try the latest versions of the DAO i.e. 3.6 for Access 2000/XP.

If you are using ADO then use the provider as Microsoft.Jet.OLEDB.4.0
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now