Re: ORA-12154: TNS:could not resolve the connect identifier specified
Anurag Chourasia <[email protected]>
| Newsgroups | gmane.comp.python.db.cx-oracle |
|---|---|
| Message-ID | <CANFgmFCdnZHsrr-=1Qcf82d=uGnHDsURJG9qMtiVbdgekK8TPA@mail.gmail.com> |
Found a solution.... In the base release of the Oracle 10gr2 client, there is a bug in the network layer. This layer have difficulties in coping with the round brackets () inside a path. My apache was installed in "C:\Program Files (x86)\..." More details at http://www.dbmotive.com/ora-06413-connection-not-open/ I reinstalled apache in a folder without () and voila!!! Regards, Guddu On Wed, Jul 2, 2014 at 5:04 PM, Anurag Chourasia <[email protected] > wrote: > I am using Windows 7 (64Bit) and from within the Python command prompt I > am able to connect to a Oracle database using cx_Oracle. > > When the same connection (With the same user/password etc) is made from a > Web Application (Django/mod_wsgi) then I get the error > > ORA-12154: TNS:could not resolve the connect identifier specified > > Here are my versions in use > > 1. Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit > (Intel)] on win32 > 2. cx_Oracle.version - '5.1.2' > 3. mod_wsgi‑3.5.ap22.win32‑py2.7.zip > 4. Oracle Release 10.2.0.1.0 > 5. httpd-2.2.25-win32-x86 > > > I am not sure why it would not work from within the Web App. Please help. > > Regards, > Guddu > ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ cx-oracle-users mailing list cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/cx-oracle-users