How to get an access to DB2 through ADO?

I have DB2 database server v7.1. Is it possible to get an access to the server through ADO? There is 'IBM OLE DB provider for DB2 servers' in the providers case of the TADOConnection component. But when I try to test a connection an error occurs. It looks like 'Test connection failed because of an error in initializing provider. The IBM OLE DB Provider is not available at this time...' When I use MS OLE DB provider for ODBC drivers everything is Ok.
BlynskyAsked:
Who is Participating?
 
bluerainConnect With a Mentor Commented:
DB2 V7.1 is not real support for ADO. v7.2 is ok.
you can try OLE DB provider for ODBC Drivers if you have
to use ADO Component.
0
 
SpideyModCommented:
Force Accepted

SpideyMod
Community Support Moderator @Experts Exchange
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.