- Krishna Mohan Gullap
- PowerBuilder
- Tuesday, 26 October 2021 07:00 PM UTC
Hello to all PowerBuilder guru's here
I am here again with one more weird PowerBuilder issue as I always do :-)
I have an application on PowerBuilder 11.X which connects to a DB2 DSN (say DB2TEST) without any issues
I migrated this app to PB 2019 and it won't connect to that DSN anymore though DB2TEST is there (same environment used for testing both the versions). Here are the steps I followed
1. Installed the application build from Production
2. Replaced all the PBDs and the application EXE
3. Edited the <application-name>.xml file that PB 2019 generates as part of the build, to point to the application installation folder itself
4. Copied all the PB 2019 run time files to the application folder. So, now, the PBD, EXE, and DLL are all in one place and the XML points to this folder as well (Looks like all is well)
5. Run the PB app. It opens fine. Good until here !
6. Login using the same user id and pwd as the one used in the PB 11.1 version of application build. The login fails with the message 'Data Source Name not found and no default driver specified'. The DSN which is used to connect (DB2TEST) is there and the PB 11.X version build connects to the same DSN just fine (Verified this by popping up a message box with the DB parm parameter for SQLCA, returns the same value for both 11.X and 2019 PB builds of the application. The PB 11.x build connects to the DSN and opens up the main screen, while the 2019 version stalls there with this error
May be I don't know if Appeon changed something w.r.to ODBC/DB2? Do I have to look at the PBODB.INI? I have no clue and can't move forward
In desperate need of help please :-)
Thanks,
Krishna
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.