Home » Infrastructure » Windows » TNS Errors ORA-1203 and ORA-12222
icon9.gif  TNS Errors ORA-1203 and ORA-12222 [message #195998] Tue, 03 October 2006 09:55
Diego_IT
Messages: 7
Registered: June 2006
Location: Italy
Junior Member
Hi all,

I have W2K03 Server with Oracle 10g installed and Oracle Client 9i installed on the same server.
I have 2 problems : 1) When I open "Start-->Run-->Cmd-->Sqlplus" it point to sqlplus of the 9i

2) I can connect from SQLPLUS of 10g, but cannot connect from SQLPLUS of 9i because I have these errors :

error a) ORA-12203 if I use "SQLPLUS system/pwd"
error b) ORA-12222 if I use "SQLPLUS system/pwd@O10G"


Someone can Help me ??

Thanks.


Hereby the listener.ora and tnsnames.ora of 10g and 9i

# listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = nettuno)(PORT = 1521))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
)
)

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
)
)

============================================================

# TNSNAMES.ORA Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

O10G =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = nettuno)(PORT = 1521))
)
(CONNECT_DATA =
(SID = O10G)
(SERVER = DEDICATED)
)
)

============================================================
# tnsnames.ora Network Configuration File: C:\oracle\product\9.2.0\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

O10G =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = nettuno)(PORT = 1521))
)
(CONNECT_DATA =
(SID = O10G)
)
)

Previous Topic: Problems installing oracle 10g on win xp professional
Next Topic: problem creating an executable procedure
Goto Forum:
  


Current Time: Fri Mar 29 07:11:53 CDT 2024