- Munther Khatib
- PowerBuilder
- Friday, 18 December 2020 01:44 AM UTC
Hi
We have a PB 12.5 legacy application we are migrating to PB 2019.
The application developer left the company and we just keep it running.
The application was deployed into Appeon 6.5 server and users login using their IE browser.
I can access the application using the browser. But when I try to run it using the PB IDE as a client/server
application it gives me an oracle TNS error about not being able to connect to database.
<<<< Unable to connect to internal database 12560. ORA-12560: TNS protocol adapter error. >>>>
I have installed Oracle 32 bit client on the windows 10 machine and all the profiles that were created
under ORA adapter connect successfully. I have also configured the service names in "tnsnames.ora" and listener and database on server are running fine.
Do you know why the connection and login fails and what do i need to do to run it successfully (i.e use a profile)?
Is this normal code design the developer did so it only works with appeon server or something is missing or buggy in the code?
I have attached a sample of the constructor code "pfc_envent" I found i think is used for login.
Thanks,
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.