-
I'm building setup for a project that references ADO 2.0 library. The setup program doesn't return any errors and it looks like setup passes successfully. But when i try to open connection to database I get runtime error 2147221164. It seems to me that I don't include all necessary files for ADO. Anybody knows what's a full kit of these files?
Regards,
Vit
-
What driver are you using to connect to your database and what MDAC version are you distributing?
Tom
------------------
[email protected]
[qualifications and/or certifications here]
-
I connect to MSAccess database through Jet and use MDAC 2.0
-
are you using the Microsoft.Jet.OLEDB.3.51 or the Microsoft.Jet.OLEDB.4.0?
Are you distributing the MDAC 2.0 or 2.1? You might be referencing the ADO 2.0 but what MDAC_TYP.EXE are you distributing to your clients?
-
I use ADO 2.0 and distribute MDAC_TYP.Exe with product version 4.71.1015.0 and file version 2.0.0.3002.15. My Jet OLEDB version is 3.51
------------------
Regards,
Vit
[This message has been edited by Vit (edited 10-26-1999).]
-
If you enumerate thru the ADO errors collection, do you get any more info?
-
I searched thru MSDN support and the online library, only came up with this. It looks unrelated but has that same error code....
http://msdn.microsoft.com/library/of...97/web/015.htm
-
The only info I get is that "ActiveX component can't create object". And my application is not internet-based one
------------------
Regards,
Vit
-
Search in the registry on the problem machine for 'Microsoft.Jet.OLEDB.3.51' AND 'Microsoft.Jet.OLEDB.4' or 'Microsoft.Jet.OLEDB.4.0' (sorry, the machine i'm at right now doesn't have MDAC installed)
do you find either one?
Tom
-
Well, I found the problem. MDAC_TYP wanted DCOM to be installed on the user mashine. Without it setup couldn't load some dll-s and register them.
Anyway, thank you very much for your help
------------------
Regards,
Vit
-