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: ORA-12154: TNS:could not resolve service name

Re: ORA-12154: TNS:could not resolve service name

From: Brian Peasland <peasland_at_edcmail.cr.usgs.gov>
Date: 2000/07/20
Message-ID: <39773BB5.E590BE9@edcmail.cr.usgs.gov>#1/1

> NAMES.DIRECTORY_PATH= (HOSTNAME)
Felix,

  If you want the TNSNAMES file to be used, then you need to change this parameter in your SQLNET.ORA file. It should look something like:

NAMES.DIRECTORY_PATH= (HOSTNAME,TNSNAMES) The path is just like a search path. If I configure it this way, then when resolving TNS entries, the TNSNAMES file is checked last. To check TNSNAMES first, put the entry first in the path.

HTH,
Brian

-- 
========================================
Brian Peasland
Raytheons Systems at
  USGS EROS Data Center
These opinions are my own and do not
necessarily reflect the opinions of my 
company!
========================================
Received on Thu Jul 20 2000 - 00:00:00 CDT

Original text of this message

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