Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> tnsnames and such... HELP!
I'm about ready to shoot myself!
I installed 8i on a Win/98 box and all was well. Then installed Developer 6i - had to use a different home, so I made another and did the install. All well, except when I try to connect to the database from forms builder, I get ORA-12154: TNS could not resolve service name. I use SCOTT/TIGER and a database name of W98. I started the listener with LSNRCTL and it appeared happy enough. I get the exact same error when trying to do a SQLPLUS SCOTT/TIGER_at_W98 from a command line prompt. I can get into SQLPLUS however, from the START/ PROGRAMS/ORACLE/ORAHOME8i/SQLPLUS, using SCOTT TIGER and no database name. If I put W98 in as the database name, I get the same error.
listener.ora, tnsnames.ora and versions are appended.
Please help!?!
Thanks,
Wayne
Oracle8i Personal Edition Release 8.1.6.0.0 - Production
PL/SQL Release 8.1.6.0.0 - Production
CORE 8.1.6.0.0 Production
TNS for 32-bit Windows: Version 8.1.6.0.0 - Production
NLSRTL Version 3.4.1.0.0 - Production
Host Name: PCTAS109
Instance Name: W98
Service Name: W98
Database Name: W98
# TNSNAMES.ORA Network Configuration File: d:\Oracle\Ora81\network\admin\tnsnames.ora # Generated by Oracle configuration tools.
W98.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = pctas109)(PORT = 1521))
)
(CONNECT_DATA = (SID = W98)))
# (CONNECT_DATA = # (SERVICE_NAME = W98) # ) # )
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
# LISTENER.ORA Network Configuration File: d:\Oracle\Ora81\network\admin\listener.ora # Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = pctas109)(PORT = 1521)) )
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = d:\Oracle\Ora81)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = W98)
(ORACLE_HOME = d:\Oracle\Ora81)
(SID_NAME = W98)
)
)
Received on Wed Aug 22 2001 - 11:10:38 CDT
![]() |
![]() |