-
Hung Doan
- PowerBuilder
- Tuesday, 20 May 2025 02:28 PM UTC
Issue: PowerBuilder IDE Error – "OCI.DLL could not be loaded"
Environment:
- PowerBuilder Version: PB 2022 R3 (using PB Foundation Class)
- Oracle Client: 19c 32-bit
- OS: Windows Server 2019 Standard
Background:
The PowerBuilder IDE was functioning correctly until it suddenly began throwing the error:
"OCI.DLL could not be loaded"
I suspect a change was made on the server by the network team, but I haven’t been able to confirm what exactly was altered.
Troubleshooting Steps Taken:
-
Uninstalled and reinstalled the Oracle 19c 32-bit client.
-
Deleted all Oracle-related files before reinstalling.
-
Verified the following:
-
Registry Entry:
SOFTWARE\WOW6432Node\KEY_OraClient19Home3_32bit\ORACLE_HOME = C:\app\userid1a\product\19.0.0\client_1
-
System PATH Variable:
PATH = C:\app\userid1a\product\19.0.0\client_1\bin
-
Oracle Client Directory:
C:\app\userid1a\product\19.0.0\
-
TNS Configuration Files:
C:\app\userid1a\product\19.0.0\client_1\network\admin
-
Current Behavior:
✅ Working:
- The compiled executable runs without issues.
- The IDE can connect to the database via the Database Painter and Interactive SQL.
❌ Not Working:
- When running the logon screen from within the IDE, the error appears:
"OCI.DLL could not be loaded"
Question:
Given that:
oci.dll
exists in the correctbin
directory,- The PATH environment variable is correctly set,
- The IDE can connect to the database in other contexts,
What could be causing the PowerBuilder IDE to fail to load oci.dll
during runtime?
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.