Toad World® Forums

Old error, new user: ORA-12154 TNS could not define theconnect identifier


#1

Ok, I did tnsping of XE and got this back:

C:\Users\Charlie>ping XE
Ping request could not find host XE. Please check the name and try again.

C:\Users\Charlie>tnsping XE

TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-JAN-2
010 14:52:01

Copyright © 1997, 2005, Oracle. All rights reserved.

Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora

Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = Charlie-
PC)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
OK (60 msec)

C:\Users\Charlie>

So, it seems fine to me. i also checked out tnsnames.ora and saw this:

XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Charlie-PC)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)

EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)

ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)

Everything looks fine there too. I’m on Vista 64bit and am in the process of downloading 10203vista_w2k8_x86_production-db.zip to see if that helps. I wanted to check before running that patch to make sure I wasn’t going to screw my Oracle 10G Express install up.