Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Connection Problem, ORA-12154 TNS:could not resolve #170

Open
supercharger opened this Issue · 0 comments

1 participant

@supercharger

I am trying to connect with TNS name, and it is not working.
I even tried with connection string also, but it is still not working.

I even tried recompiled source code passing hard-coded values to createConnection in oracle_bindings.cpp, to eliminate chances of file encoding issues

But, TNS Ping is working fine.
Following is the output of the TNS Ping
/===================================================================
TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 14-APR-2014 17:33:00

Copyright (c) 1997, 2010, Oracle. All rights reserved.

Used parameter files:
C:\oracle\product\11.2.0\client_2\network\admin\sqlnet.ora

Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.1.115.18)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=serv1)))
OK (110 msec)
/=================================================================

Also, I am using 32-bit Node.js with 32 bit Oracle 11.2g client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.