ORA-12154: TNS:could not resolve the connect identifier specified

Anurag Chourasia <[email protected]>
Newsgroups gmane.comp.python.db.cx-oracle
Message-ID <CANFgmFAGMC316BvzetQE-9u_ZhugUEr5P+_T6cdAmanEBU9xHg@mail.gmail.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.