DB2 connetion problem

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Tanaisu
Posts: 5
Joined: Sun 01 Jun 2014 18:13

DB2 connetion problem

Post by Tanaisu » Sun 01 Jun 2014 18:26

I upgraded to 5.3.9 last week and I when try to connet DB2 database I get the next error: can't initialize sql environment. Error -1

any suggestion please

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: DB2 connetion problem

Post by AlexP » Mon 02 Jun 2014 07:22

Hello,

Please specify the exact DB2 server and client versions, and the IDE version.

Tanaisu
Posts: 5
Joined: Sun 01 Jun 2014 18:13

Re: DB2 connetion problem

Post by Tanaisu » Mon 02 Jun 2014 13:39

I try whit Delphi 7 and the problem appears y development, see picture below



Image

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: DB2 connetion problem

Post by AlexP » Tue 03 Jun 2014 06:23

Please specify the exact DB2 server and client versions.

Tanaisu
Posts: 5
Joined: Sun 01 Jun 2014 18:13

Re: DB2 connetion problem

Post by Tanaisu » Wed 04 Jun 2014 10:23

Is not a problem of DB2 server or client versión, the problem appear when I tray tu open the arrow as you can see in yelow color




Image

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: DB2 connetion problem

Post by AlexP » Wed 04 Jun 2014 11:55

Before selecting a database, you should set all the connection parameters: Server, Port, UserName and Password.

Tanaisu
Posts: 5
Joined: Sun 01 Jun 2014 18:13

Re: DB2 connetion problem

Post by Tanaisu » Wed 04 Jun 2014 14:42

You right, I did set all the connection parameters: Server, Port, UserName and Password. but the problem remain

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: DB2 connetion problem

Post by AlexP » Thu 05 Jun 2014 06:58

Please clarify, is connection established if you specify the database name manually?

Tanaisu
Posts: 5
Joined: Sun 01 Jun 2014 18:13

Re: DB2 connetion problem

Post by Tanaisu » Thu 05 Jun 2014 16:22

Is not connection established, in this case a get the next error

Image

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: DB2 connetion problem

Post by AlexP » Tue 10 Jun 2014 07:30

We couldn't reproduce the problem on our servers. Please specify the exact versions of DB2 client and server.

Post Reply