Re: [cx-oracle-users] ORA-12154: TNS:could not resolve the connect identifier specified
Brought to you by:
atuining
From: Anurag C. <anu...@gm...> - 2014-07-02 22:13:58
|
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 <anu...@gm... > 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 > |