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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Implemented TNS_ADMIN on NT?

Re: Implemented TNS_ADMIN on NT?

From: Jack van Zanen <nlzanen1_at_ey.nl>
Date: Mon, 8 May 2000 09:07:08 +0100
Message-Id: <10491.105139@fatcity.com>


Hi

I have tried on my PC and it works fine. I'm not pointing to a shared network drive though.
If you point to a shared network drive I guess you have to make sure that it is accessible and that the tnsnames.ora file is there as well

Jack

"Hathi,Manish" <mhathi_at_mwd.dst.ca.us>@fatcity.com on 05/06/2000 01:16:18 AM

Please respond to ORACLE-L_at_fatcity.com

Sent by: root_at_fatcity.com

To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> cc:
Subject: Implemented TNS_ADMIN on NT?

Hi,
Has anyone implemented successfully the following for Oracle8i on NT4

GOAL:
Store the "tnsnames.ora" in a dir. on a shared network drive so that all client NT workstations have access to
that directory.
Specify the TNS_ADMIN variable in the client workstation's registry to point to this shared network dir.

Why would I want to do this? Well this question is from a friend and their shop has a number of test/development databases. For every new database added, the tnsnames.ora is to be modified from client machines. They want a solution so that all clients point to a single tnsnames.ora

The documentation says that TNS_ADMIN var. in the registry can do this.
<FROM DOC>

The search order for SQLNET.ORA and TNSNAMES.ORA follows:

  1. Current working directory from where an application is executed b.TNS_ADMIN environment variable If the TNS_ADMIN environment variable is not defined on Windows platforms, TNS_ADMIN it may be in the registry d.If TNS_ADMIN is not defined, $ORACLE_HOME/network/admin on UNIX and ORACLE_HOME\network\admin on Windows platforms
    <END-FROM DOC>

I tried doing this but the after setting tns_admin on client workstation registry, SQL*PLUS cannot connect to any database.

Any comments appreciated.

Thanks,

Manish

--
Author: Hathi,Manish
  INET: mhathi_at_mwd.dst.ca.us

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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).





===================================================================
De informatie verzonden met dit E-mail bericht is uitsluitend bestemd voor
de geadresseerde. Gebruik van deze informatie door anderen dan de
geadresseerde is verboden. Openbaarmaking, vermenigvuldiging, verspreiding
en/of verstrekking van deze informatie aan derden is niet toegestaan.
Ernst & Young staat niet in voor de juiste en volledige overbrenging van de
inhoud van een verzonden E-mail, noch voor tijdige ontvangst daarvan.
===================================================================
The information contained in this communication is confidential and may be
legally privileged. It is intended solely for the use of the individual or
entity to whom it is addressed and others authorised to receive it. If you
are not the intended recipient you are hereby notified that any disclosure,
copying,  distribution or taking any action in reliance on the contents of
this information is strictly prohibited and may be unlawful. Ernst &
Young is neither liable  for the proper and complete transmission of the
information contained in this communication nor for any delay in its
Received on Mon May 08 2000 - 03:07:08 CDT

Original text of this message

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