Page 1 of 1

DotConnect for DB2 not connecting

Posted: Mon 24 Mar 2014 08:19
by fashfaq
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

Re: DotConnect for DB2 not connecting

Posted: Mon 24 Mar 2014 09:19
by Shalex
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.

Re: DotConnect for DB2 not connecting

Posted: Mon 24 Mar 2014 10:10
by fashfaq
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

Re: DotConnect for DB2 not connecting

Posted: Tue 25 Mar 2014 08:16
by Shalex
Please refer to http://www.ibm.com/software/data/db2/li ... loads.html > "Install the DB2 driver or client that meets your requirements".