RE: Re: TNSNAMes - 11g & TOAD 11

"Dunbar, Norman (Capgemini)" <[email protected]>
Newsgroups gmane.comp.db.oracle.toad.free
Message-ID <[email protected]>
Hi Gerry,

>> I copied it to the client (root) directory containing the oci.dll.
>> No luck. Tried the TNS_ADMIN var and that didn't work either. 
>> I'm running Windows 7.

As far as I'm aware, when you use instant client, you *must* create a tns_admin environment variable pointing at the folder that contains your sqlnet.ora and tnsnames.ora files. They can be anywhere on your desktop but for best results, hang them off a network/admin folder beneath the instant client folder itself.

Go to control panel -> System.
On the Advanced tab.
Click the button (or whatever) for Environment variables.

One set allows you to configure vars for your login only, the other does it for everyone. Pick the best one.

Create a new one, name it TNS_ADMIN and set the value to be wherever your files are - say c:\oracle\instantclient10g\network\admin (you may need quotes if there are spaces - but Oracle won't like spaces anyway - so avoid them!)

OK your way back out.

That should work.

Caveat: I don't use instant client and neither does anyone here. But in my job, it helps to have at least a slight clue about other Oracle things. Just in case.

Have fun.



Cheers,
Norm. [TeamT]


Information in this message may be confidential and may be legally privileged. If you have received this message by mistake, please notify the sender immediately, delete it and do not copy it to anyone else.

We have checked this email and its attachments for viruses. But you should still check any attachment before opening it.
We may have to make this message and any reply to it public if asked to under the Freedom of Information Act, Data Protection Act or for litigation.  Email messages and attachments sent to or from any Environment Agency address may also be accessed by someone other than the sender or recipient, for business purposes.

If we have sent you information and you wish to use it please read our terms and conditions which you can get by calling us on 08708 506 506.  Find out more about the Environment Agency at www.environment-agency.gov.uk


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/toad/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/toad/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.