Re: unable to connect to DB from DEV2000

From: TurkBear <noone_at_nowhere.com>
Date: Fri, 27 Jul 2001 12:05:19 -0500
Message-ID: <3j73mtc54etlst8okh9jasmoijkmo2acmp_at_4ax.com>


Save your self some coding/copying problems:

Add an entry to the registry ( be careful ) in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE
add a new string value called TNS_ADMIN and for its value data enter the full path to the newest ( the 8.1.7) Oracle_home/Network/admin location

All Oracle tools will now look in that location for connection info...

"Daniel A. Morgan" <dmorgan_at_exesolutions.com> wrote:

>Jane Williams wrote:
>
>> On Sun, 17 Jun 2001 13:11:35 +0100, "michael.cooke"
>> <michael.cooke_at_tinyworld.co.uk> wrote:
>>
>> >Have just installed Oracle 8.1.7 onto NT4.0 sp4 and am unable to connect to
>> >it from Developer 2000 [forms 4.5 reports2.5]. I installed Dev 2000 first
>> >due to its trying to use same oracle home as 8i if that installed first.
>> >With Oracle 7.3.3 both were had same home and worked immediately.
>> >I get an error 'no interface driver installed' . I believe it to be a
>> >problem in TNSnames and/or listener or even registry entry.
>> >Any help would be appreciated.
>>
>> I'm only guessing here, as I haven't played with Oracle 8i yet, but:
>>
>> Dev 2000 expects TNSNAMES.ORA to be in a directory called
>> \network\admin
>> Forms 6i expects TNSNAMES.ORA to be in a directory called \net8\admin
>>
>> Could Oracle 8i be putting it in \net8, not \network?
>>
>> This of course raises the question of which version of SQL*Net you're
>> trying to use: 2 or 8? (8 works fine with DEV 2K: I'd be surprised if
>> 2 worked with O8i).
>
>You are correct. But Oracle keeps multiple copies of tnsnames.ora. Each in a
>separate directory under a separate home. And each must contain a valid entry
>for each database to which you connect.
>
>Daniel A. Morgan

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 80,000 Newsgroups - 16 Different Servers! =----- Received on Fri Jul 27 2001 - 19:05:19 CEST

Original text of this message