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,
Does this mean that the source code that validates userid/password in the event i sent you is still being used or not?
I will check AEM today to see where those connections might be.
DO you think I should skip testing the application in client/server mode and wait until I deploy it into Powerserver since the current code will not work in PB IDE?
Thanks,
Also, PowerServer 6.5 is too old. You MUST upgrade to PowerServer 2020 when you upgrade to PowerBuilder 2019.
PowerServer uses the values assigned to the logID and logpass to send to the AEM. Everything else about the database connection is coming from AEM not PowerScript.