cancel
Showing results for 
Search instead for 
Did you mean: 

Powerbuilder 12.5 get error in DB painter when trying to create SQL Anywhere database

former_member231132
Participant
0 Kudos
799

I'm running Windows 10 version 1803. I recently installed Powerbuilder 12.5.2 and SQL Anywhere 12.0.1. In the PB IDE, I go to the database painter and attempt to create an ASA database by expanding ODB ODBC > Utilities > Create ASA database. When I attempt to create a SQL Anywhere 12 database I get an error "SQLSTATE = 08003 [Microsoft][ODBC Driver Manager] Connection not open" (see below). Based on some research I believe this error is because Powerbuilder itself is 32 bit but the SQL Anywhere drivers are 64 bit. What is the best way to uninstall the 64 bit SQL Anywhere and install 3 bit SQL Anywhere? I tried to do it by re-running the Powerbuilder install program, but the process freezes after I load the license file for "standalone seat - local license" and has be to be terminated in Task Manager.

Thanks for all help,

Tim Sheppard

Accepted Solutions (1)

Accepted Solutions (1)

chris_keating
Product and Topic Expert
Product and Topic Expert
0 Kudos
The only way that I can reproduce the error that you are seeing is when the driver has been incorrectly installed.
  • a 64 bit driver registered in the 32 bit ODBC environment or
  • a invalid path/file name for the SQL Anywhere 12 ODBC driver defined in the ODBC environment

I do not see how the SQL Anywhere install would result in these cases - the SQLA ODBC driver is self registering and should correctly handle the bitness of the driver that it registers as well as the pathing used. In any event, you do need to be using a 32 bit driver with PowerBuilder. You can modify the install and ensure that you select the 32 bit components. This can be done by either rerunning the install or doing a modify in the Add or Remove programs. If the install appears to already have 32 bit, you may need to run a repair or reinstall.

Answers (0)