Gene,
To use the SERVICE_NAME parameter in the client connect descriptor, make
sure you have the GLOBAL_DBNAME parameter defined in the listener.ora file.
HTH,
Dave
gurelei_at_yahoo.com wrote:
> Avnish,
>
> I have both of these parameters defined in each
> of the two databases. Yet, service_name only works
> on one.
>
> Gene
> --- Avnish.Rastogi_at_providence.org wrote:
>
>>To use service_name, make sure that you have defined
>>local_listener and service_name in init.ora file.
>>
>>-----Original Message-----
>>Sent: Thursday, September 18, 2003 10:55 AM
>>To: Multiple recipients of list ORACLE-L
>>
>>
>>hi all.
>>
>>i have two databases running oracle 817 on different
>>machines (AIX 4.3). I am trying to connect to these
>>databases remotely from my desktop. when I use the
>>"SERVICE_NAME = " in the connect_id for one of the
>>databases, I get ora 12500 error. When I replace it
>>with "SID=" everything works fine. For another
>>database, SERVICE_NAME works every time. I looked
>>and
>>both databases and couldn't see anything to explain
>>this . Can someone shed some light onto this. My
>>Oracle client is 9201.
>>
>>thanks
>>
>>gene
>>
>>__________________________________
>>Do you Yahoo!?
>>Yahoo! SiteBuilder - Free, easy-to-use web site
>>design software
>>http://sitebuilder.yahoo.com
>>--
>>Please see the official ORACLE-L FAQ:
>>http://www.orafaq.net
>>--
>>Author: Gene Gurevich
>> INET: gurelei_at_yahoo.com
>>
>>Fat City Network Services -- 858-538-5051
>>http://www.fatcity.com
>>San Diego, California -- Mailing list and web
>>hosting services
>>
>
> ---------------------------------------------------------------------
>
>>To REMOVE yourself from this mailing list, send an
>>E-Mail message
>>to: ListGuru_at_fatcity.com (note EXACT spelling of
>>'ListGuru') and in
>>the message BODY, include a line containing: UNSUB
>>ORACLE-L
>>(or the name of mailing list you want to be removed
>>from). You may
>>also send the HELP command for other information
>>(like subscribing).
>>
>>
>>DISCLAIMER:
>>This message is intended for the sole use of the
>>individual to whom it is addressed, and may contain
>>information that is privileged, confidential and
>>exempt from disclosure under applicable law. If you
>>are not the addressee you are hereby notified that
>>you may not use, copy, disclose, or distribute to
>>anyone the message or any information contained in
>>the message. If you have received this message in
>>error, please immediately advise the sender by reply
>>email and delete this message.
>>--
>>Please see the official ORACLE-L FAQ:
>>http://www.orafaq.net
>>--
>>Author: <Avnish.Rastogi_at_providence.org
>> INET: Avnish.Rastogi_at_providence.org
>>
>>Fat City Network Services -- 858-538-5051
>>http://www.fatcity.com
>>San Diego, California -- Mailing list and web
>>hosting services
>>
>
> ---------------------------------------------------------------------
>
>>To REMOVE yourself from this mailing list, send an
>>E-Mail message
>>to: ListGuru_at_fatcity.com (note EXACT spelling of
>>'ListGuru') and in
>>the message BODY, include a line containing: UNSUB
>>ORACLE-L
>>(or the name of mailing list you want to be removed
>>from). You may
>>also send the HELP command for other information
>>(like subscribing).
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Dave Hau
INET: davehau123_at_netscape.net
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
Received on Thu Sep 18 2003 - 16:04:46 CDT