Error connecting to Server

1
+1
-1

Hi,

I have migrated my code from PB 7.0 to PB 2017.
The build was successful without any error message.
I also created an executable for the same.
But I am not able to login to it, it shows following error message:- "Error loading client library DLLs, Unable to connect to server"

Are there any migration step which I may have missed?

Please help.


Thanks in Advance
Ankush Rai

Question Tags: 

Answers

Chris Pollach answered Error connecting to Server

1
+1
-1
Hi Ankush; It could also be that PB 7 was calling an old DBMS driver that is no longer supported by PB 2017. Before building any EXE - make sure that your App runs OK from the IDE 1st. Regards ... Chris

Ankush_Rai_19176's picture

Hi Chris,

I am using SYC to connect.
I have also installed sybase client  15.7.
 

When trying to run my application through IDE, I am getting "LOGIN FAILED" error message.

I am not sure if I am using EAServer which is no longer supported in PB 2017.

If you could please suggest. 

 

Thanks

Ankush Rai

Roland Smith answered Error connecting to Server

1
0
-1

What database are you connecting to?

 

Ankush_Rai_19176's picture

I am using an .ini file to give the database settings.
The databases are present on our server.
 

Regards

Ankush Rai

Roland's picture

That doesn't answer my question. Is it Microsoft SQL Server, Oracle, Sybase ASE? What value are you using for sqlca.DBMS?

Ankush_Rai_19176's picture

In our PB 7.0 we used Sybase ASE.
In PB 2017, I am using SQL Anywhere 2016.

Roland's picture

The first three characters of sqlca.DBMS match positions 3-5 of the database interface file. When deploying the PB runtime with the executable, you need PBODB170.DLL for SQL Anywhere. You will also need to install the SQL Anywhere client.

For Sybase ASE, you have a choice of using SYC or the newer ASE interface.

Ankush_Rai_19176's picture

Hi Roland,


Thanks.
I read somewhere that PB 2017 does not support Sybase ASE DB profiles for EAServer.
What does this mean?

If you could please help me on this.
Thanks in Advance.

 

Regards

Ankush Rai