Another thing I would check will be tnsnames.ora. I am using it in 9I and I defined 
service_name and local_listener init.ora. In the tnsnames.ora I defined SERVICE_NAME 
not ORACLE_SID. For listenet I am using self service registration. 

-----Original Message-----
Sent: Thursday, September 18, 2003 12:15 PM
To: Multiple recipients of list ORACLE-L


Avnish,

I have both of these parameters defined in each
of the two databases. Yet, service_name only works
on one.

Gene
--- [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED] (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: <[EMAIL PROTECTED]
>   INET: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED] (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: Gene Gurevich
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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: <[EMAIL PROTECTED]
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to