Python Forum
Windows server 2008 SP2 - Python cx_Oracle connection DLL error - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Windows server 2008 SP2 - Python cx_Oracle connection DLL error (/thread-8703.html)



Windows server 2008 SP2 - Python cx_Oracle connection DLL error - tpanagoda - Mar-04-2018

I have configured the Oracle client and try with the below code, But error prompted.

import cx_Oracle
connstr = 'sysadmin/abc1234@localhost:1521/ORCL'
conn = cx_Oracle.connect(connstr)
Error : Python.exe - Entry Point Not Found

The Procedure entry point K32GetModuleBaseNameA could not be located in the dynamic link library KERNEL32.dll

[Image: Vnq5j.png]

As I suspected K32GetModuleBaseNameA function not in KERNEL32.dll, and this is working in Windows 7 OS without any issue.

I am using Server 2008 32 bit SP2 as client machine and remotely connect to Oracle Data Base 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Tried both Python 2.7 and 3.6.

Instant client version is "instantclient_12_2"

Is there any way to update this DLL or is there any fix or patch


RE: Windows server 2008 SP2 - Python cx_Oracle connection DLL error - Larz60+ - Mar-04-2018

Don't know if this is any help, but post it anyway: http://www.oracle.com/technetwork/pt/topics/dotnet/install112021-200037.html


RE: Windows server 2008 SP2 - Python cx_Oracle connection DLL error - tpanagoda - Mar-05-2018

(Mar-04-2018, 07:13 PM)Larz60+ Wrote: Don't know if this is any help, but post it anyway: http://www.oracle.com/technetwork/pt/topics/dotnet/install112021-200037.html

Thank you very much for the reply, I will check on that.