Home » Infrastructure » Windows » ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified [message #360614] |
Fri, 21 November 2008 11:00  |
shrinivas.boga
Messages: 5 Registered: November 2008
|
Junior Member |
|
|
Hi all,
I am very new to the Database. I dont know anything about database. Please somebody help me in below described problem.
I have an application running on Windows XP SP2. Which is connecting to a remote machine database. which is able to connect it and working properly as desired.
Problem : I have brought a new machine with advanced hardware. Installed same Windows XP SP2, the network configuration, gateway, subnet etc. all are same as the XP machine. I have installed the same version of oracle in this machine. I have copied the TNSNAMES.ora and SQLNET.ora files from old working XP machine. All the system DSN in Administrative tools->ODBC are set as they are in old machine.
But when I am trying to run the application, It is giving the below error.
Error : ORA-12545: Connect failed because target host or object does not exist.
Any body help me in this
|
|
|
|
|
|
|
|
ORA-12154: TNS:could not resolve the connect identifier specified [message #360642 is a reply to message #360614] |
Fri, 21 November 2008 14:10   |
shrinivas.boga
Messages: 5 Registered: November 2008
|
Junior Member |
|
|
Hi all,
I am very new to the Database. I dont know anything about database. Please somebody help me in below described problem.
I have an application running on Windows XP SP2. Which is connecting to a remote machine database. which is able to connect it and working properly as desired.
Problem : I have brought a new machine with advanced hardware. Installed same Windows XP SP2, the network configuration, gateway, subnet etc. all are same as the XP machine. I have installed the same version of oracle in this machine. I have copied the TNSNAMES.ora and SQLNET.ora files from old working XP machine. All the system DSN in Administrative tools->ODBC are set as they are in old machine.
But when I am trying to run the application, It is giving the below error.
Error : ORA-12154: TNS:could not resolve the connect identifier specified
My TNSNAME.ora and SQLNET.ora look like below.
################
# Filename......: tnsnames.ora
# Name..........: LOCAL_REGION.world
# Date..........: 20-APR-96 13:38:47
################
# 02/04/99 Burlock - Entries in support of pdw on the benchmark system, pdw_bench, dps_bench, rpt_bench
pdw_bench.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = hts_tcpip.world)
(PROTOCOL = TCP)
(Host = dps.bm2.lab)
(Port = 1523)
)
)
(CONNECT_DATA =
(SID = pdwp)
)
)
dps_bench.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = hts_tcpip.world)
(PROTOCOL = TCP)
(Host = dps.bm2.lab)
(Port = 1521)
)
)
(CONNECT_DATA =
(SID = dpsp)
)
)
dps_prod.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = hts_tcpip.world)
(PROTOCOL = TCP)
(Host = dps)
(Port = 1521)
)
)
(CONNECT_DATA =
(SID = dpsp)
)
)
pdw_prod.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = hts_tcpip.world)
(PROTOCOL = TCP)
(Host = pdw)
(Port = 1523)
)
)
(CONNECT_DATA =
(SID = pdwp)
)
)
htsu36_dpsd.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = hts_tcpip.world)
(PROTOCOL = TCP)
(Host = htsu36)
(Port = 1521)
)
)
(CONNECT_DATA =
(SID = dpsd)
)
)
htsu63.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = htsu63)(PORT = 1521))
)
(CONNECT_DATA = (SID = hrznd)(SERVER = DEDICATED))
)
hrzn.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = hrzn)(PORT = 1525))
)
(CONNECT_DATA = (SID = hrznp)(SERVER = DEDICATED))
)
htsu36_pdwd.world =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = htsu36)(PORT = 1521))
(CONNECT_DATA = (SID = pdwd))
)
################
#
# Filename......: SQLNET.ora
#
################
AUTOMATIC_IPC = OFF
TRACE_LEVEL_CLIENT = OFF
NAMES.DIRECTORY_PATH = (TNSNAMES)
names.default_domain = world
name.default_zone = world
I have installed the Oracle ODAC for Net Manger and all. Which created a LISTENER.ORA and SQLNET.ORA in the location C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN
Where as the Oracle is installation created the TNSNAMES.ora and SQLNET.ora at the location C:\ORANT\NETWORK\ADMIN which are replaced by old machines copies.
Please somebody help, Its urgent.
[Updated on: Fri, 21 November 2008 14:28] Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Mon May 05 11:49:17 CDT 2025
|