Re: [cx-oracle-users] Error loading cx_Oracle module: DLL load failed+PyISAPIe+IIS6
Brought to you by:
atuining
From: Marilena P. <map...@ut...> - 2013-01-15 11:29:15
|
I just downgraded to cx_Oracle 4.4.1 and I'm not getting this error any more but I can only serve .py files with PyISAPIe. It doesn't seem that it links with django because I get 'the page cannot be found' when I try to link with the virtual folder. Do you have any idea why?My url is:'(r'^login/$', 'vpms.views.login_user') where vpms is the django project that's inside c:\wvpms. What's the proper way to see if the project works? 2013/1/14 Ivanelson Nunes <iva...@gm...> > 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 >> >> > > > ------------------------------------------------------------------------------ > 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 > > |