- santosh kale
- PowerBuilder
- Thursday, 21 February 2019 08:39 AM UTC
I am trying to connect 12c database through PowerBuilder 2017 R3
with following code
if not IsValid (SQLADM) then
SQLADM = create n_tr
end if
ls_logon_user_prefix = this.of_prefix(as_userid)
SQLADM.of_Init(is_AppINIFile, "Database")
SQLADM.logid = ls_logon_user_prefix
SQLADM.logpass = ls_encrypt_passwd
IF SQLADM.of_Connect() 0 THEN
ls_encrypt_passwd = this.of_encryption_old(0, this.is_userseed, as_password) // 0 - encrypt
ls_encrypt_passwd = this.of_prefix(ls_encrypt_passwd) // add prefix if required
SQLADM.logpass = ls_encrypt_passwd
IF SQLADM.of_Connect() 0 THEN
MessageBox('Error Msg', SQLADM.SQLErrText)
return -1
end if
getting the following message
ORA-01017: invalid username/password; logon denied
But Same code if I try to connect to oracle 11g database its working perfectly fine.
Thanks
Santosh Kale
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.