DotConnect for DB2 not connecting

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for DB2
Post Reply
fashfaq
Posts: 2
Joined: Mon 24 Mar 2014 08:10

DotConnect for DB2 not connecting

Post by fashfaq » Mon 24 Mar 2014 08:19

Hi

I have latest DB2 ISeries version.

I have a visual studio 2010, I downloaded dotConnect for db2 for implementing
Entity Framework.

DotConnect Setup downloaded successfully,

but when i am going to connect with DB2 it generating an error
says "Could not load file or assembly IBM.DATA.DB2 version 9.0.0.2"

I searched in my GAC there is no assembly of IBM.DATA.DB2, but there is assembly placed
IBM.DATA.DB2.Iseries.


Please tell me how to resolve this issue.

Regards
Fawad Ashfaq

Shalex
Site Admin
Posts: 8826
Joined: Thu 14 Aug 2008 12:44

Re: DotConnect for DB2 not connecting

Post by Shalex » Mon 24 Mar 2014 09:19

dotConnect for DB2 is a wrapper of IBM DB2 for LUW provider, so IBM.Data.DB2.dll of 9.x or higher version must be available on the computer.

You should install IBM DB2 for LUW provider separately.

An advantage of using dotConnect for DB2 is an extended functionality comparing to IBM.Data.DB2.dll: better Entity Framework support, more features for ASP.NET projects, native SSIS Source and Destination components and many more.

fashfaq
Posts: 2
Joined: Mon 24 Mar 2014 08:10

Re: DotConnect for DB2 not connecting

Post by fashfaq » Mon 24 Mar 2014 10:10

Ok , but where i can download IBM DB2 for LUW provider ( for windows )
can you please send me any link where i can download IBM DB2 for LUW provider.

Regards
Fawad Ashfaq

Shalex
Site Admin
Posts: 8826
Joined: Thu 14 Aug 2008 12:44

Re: DotConnect for DB2 not connecting

Post by Shalex » Tue 25 Mar 2014 08:16

Please refer to http://www.ibm.com/software/data/db2/li ... loads.html > "Install the DB2 driver or client that meets your requirements".

Post Reply