Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error loading cx_Oracle module in IIS and CGI

liangchen76Jul 7 2015 — edited Jul 8 2015

I wrote a simple python script to run inside IIS as web-CGI. Python 2.7.5 and Oracle client 12.1 32-bit and cx_Oracle-5.2-12c.win32-py2.7.exe. cgi-python is enabled in IIS with CGI module and the py script mapping.

The script ran fine as standalone outside IIS on the server, which I think could prove all modules properly are installed on the server. But when invoked from the IIS, the script failed to load the oracle dll: DLL load failed: The specified module could not be found. ORACLE_HOME and python home are set into PATH. Read & execute on ORACLE_HOME is granted to server\users and iis_iusrs. app-pool identity and physical path credential is the local admin. Enable 32-bit app is set True.

I still believe this must be caused by the missing path or permission for the account running IIS. But I couldn't think of anything else to add.

Any help or suggestion would be appreciated.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 4 2015
Added on Jul 7 2015
0 comments
1,078 views