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 -> connect to oracle without service name

connect to oracle without service name

From: Vincent Ventrone <vav_at_mitre.org>
Date: Thu, 09 Sep 1999 13:30:13 -0400
Message-ID: <37D7EEA5.A5B340ED@mitre.org>


I think there are 2 separate issues here: 1. how to avoid explicitly providing a service name by the client app. & 2. how to provide a mechanism for SQLNet to resolve the service name.

  1. You can avoid supplying a service name if the client is running on Windows 95 or NT -- simply define a Reigistry entry under HKEY_LOCAL_MACHINE\Software\Oracle named "LOCAL" whose value will then be used as the default service name.
  2. If you are not willing or able to use Oracle Names then the only alternative to placing a TNSNAMES.ORA on every client machine that I am aware of is to put a common TNSNAMES.ORA out on some shared server & create a Registry entry on each client with name "TNS_ADMIN" whose value is the UNC of the folder that holds the shared file.

Good luck
--

Vincent Ventrone    |  The MITRE Corp.
DBA, Dept. R101     |  M/S C020
vav_at_mitre.org       |  202 Burlington Rd.
(781) 271-7048      |  Bedford, MA 01730
Received on Thu Sep 09 1999 - 12:30:13 CDT

Original text of this message

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