Re: [cx-oracle-users] Error loading cx_Oracle module: DLL load failed+PyISAPIe+IIS6
Brought to you by:
atuining
From: Ivanelson N. <iva...@gm...> - 2013-01-14 16:01:30
|
Recently, I had the same problem. In my case was with the Apache server. My solution was to insert inside / etc/apache2/envvars load environment variables: ORACLE_HOME and LD_LIBRARY_PATH In IIS, should have some startup file idem "envvars" of Apache Server. 2013/1/14 Marilena Papageorgiou <map...@ut...> > Hi, > > I have developed a Django application, and I am > trying to get it to run under IIS on Windows Server 2003. I'm > generally following the Django walkthrough [1] but my db is Oracle. > > If I run python from the command prompt and import cx_Oracle, it works > just fine. If I run the project with django's development server, everything works fine too. > However, when the Django application is loaded by IIS and > PyISAPIe, it says it cannot load cx_Oracle and displays the following > error: > > Error loading cx_Oracle module: DLL load failed: The specified module > could not be found. > > I'm using the 32-bit versions of the following: > > Python 2.6.6 > PyISAPIe 1.1.0 rc4 py2.6 > Django 1.4.3 > Oracle Client 11.2 > cx_Oracle 5.1 (for Oracle 11g, Python 2.6) > > Any thoughts on why this might be happening? > > [1]https://code.djangoproject.com/wiki/DjangoOnWindowsWithIISAndSQLServer > > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > > |