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:19 PM, Anurag Chourasia <[email protected]
> wrote:

> Hi All,
>
> 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 have tried with another mod_wsgi version 3.3 also but same issue
> persists.
>
> I am not sure why it would not work from within the Web App but from
> outside it does. Could this have anything to do with apache or mod_wsgi?
>
> Please help.
>
> Regards,
> Guddu
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to