Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
TNS Resolution

TNS Resolution

2006-01-19       - By Simon Anderson

Reply:     <<     11     12     13     14     15     16     17     18     19     20  

Well, if the TNSNAMES entry works for other developers (and they're
using the same version of Oracle, right?) then you know the entry is OK
and the database you're after is running and registered with that
listener.

set TRACE_LEVEL_CLIENT = ADMIN in your tnsnames.ora and take a look at
the resulting trace file - sqlnet.trc in your current directory (at
least it is on my old 817 setup).  

Running SQLPLUS from the dos prompt should then get you a trace file
that will confirm which tnsnames it's using and what connect details
it's passing on to the listener - if there's nothing obviously wrong
with it, try comparing it with a trace file from a computer that can
connect.

Hope that helps.

Cheers
Simon Anderson

> -- --Original Message-- --
> From: oracle-l-bounce@(protected)
> [mailto:oracle-l-bounce@(protected)] On Behalf Of Jonathan Knight
> Sent: 18 January 2006 22:27
> To: Oracle Mailing List
> Subject: Re: TNS Resolution
>
> First, thanks for the replies so far.  Here's what
> I've found:
>
> Yes, it is a Windows 2000 client with multiple Oracle
> Homes.
> I have searched the entire registry and there are no
> references to TNS_ADMIN.
>
>
>
> tnsping doesn't give any additional information.
> Below is the entire output from tnsping:
>
> C:\Documents and Settings\JonK>tnsping clsdev.world
>
> TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0
> - Production on 18-JAN-2006 09:45:21
>
> (c) Copyright 1997 Oracle Corporation.  All rights
> reserved.
>
> Attempting to contact
> (ADDRESS=(PROTOCOL=TCP)(HOST=ud505)(PORT=1521))
> OK (110 msec)
>
> C:\Documents and Settings\JonK>
>
>
>
> Below is a connection trace as reported by
> SQL*Navigator.  It shows that the tnsnames.ora from
> the correct oracle home is being used.
>
> oci.dll found  
> 2) Oracle Home Key is SOFTWARE\ORACLE\HOME1  
> Looking for TNS_ADMIN environmental variable  
> TNS_ADMIN environmental variable doesnt exist,  
> looking for TNS_ADMIN reg key using home key:
> >SOFTWARE\ORACLE\HOME1<  
> Oracle Path is now C:\ora817NT\network\ADMIN  
> Looking for C:\ora817NT\network\ADMIN\tnsnames.ora  
> tnsnames.ora found  
> ...
>
>
>
> I don't have access to the particular box in question
> (Data Security has it locked down - it's a development
> box, go figure!), so I can't verify the tns entry on
> the server.  However, this tns entry allows other
> developers to connect to the instance without a
> problem.
>
> I will continue to try to verify the tnsnames.ora
> entry on the server.  Until then, is there anything
> else I can check?
>
> Thanks,
> Jon

--
http://www.freelists.org/webpage/oracle-l