Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: TNS:listener could not resolve SERVICE_NAME given in connect descriptor

Re: TNS:listener could not resolve SERVICE_NAME given in connect descriptor

From: Frank van Bortel <frank.van.bortel_at_gmail.com>
Date: Wed, 19 Apr 2006 20:29:15 +0200
Message-ID: <e25vfo$r3f$1@news1.zwoll1.ov.home.nl>


GM wrote:
>
> XE =
> (DESCRIPTION =
> (ADDRESS = (PROTOCOL = TCP)(HOST = abcdefg)(PORT = 1521))
> (CONNECT_DATA =
> (SERVER = DEDICATED)
> (SERVICE_NAME = XE)
> )
> )
>

Do a:
 select * from global_name;
whatever that returns, put it in tnsnames.ora as service_name. Retry. The is a fair chance the golbal_name is the servce, however no guarantee.

If that fails, try SID=XE instead of SERVICE_NAME; it's SQL*Net V2, but often does the trick

-- 
Regards,
Frank van Bortel

Top-posting is one way to shut me up...
Received on Wed Apr 19 2006 - 13:29:15 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US