Setting Oracle Home with 10g client install with 9i client previously installed

I have had oracle 9i installed for couple years where I was unable to connec t to an Oracle 10g database.  As a result I installed 10G client.  If I use TOAD and specifically select the home for 10g I can connect.  Otherwise, I cannot connect to the 10g database.  However, my problem is that my application uses whatever the default Oracle home is. As a result it tries to connect with 9i which does not work. Is there a way to change my default Oracle home to the 10 g home?  

FYI - When I installed 10 g client I used the defualt settings.  

Thanks
vandy02Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

slightwv (䄆 Netminder) Commented:
What OS?

In windows you can set the default ORACLE_HOME in the registry. Going from memory I think it's HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE

For what it's worth a 9i client should be able to connect to 10g database.
0
vandy02Author Commented:
I thought it would to.   However it will not.
0
slightwv (䄆 Netminder) Commented:
did setting ORACLE_HOME to the 10g one work?

>>I thought it would to.   However it will not.

If you want to pursue the 9i to 10g issue:  What errors are you getting?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

vandy02Author Commented:
TNS error each time
0
slightwv (䄆 Netminder) Commented:
I'm afraid I'll need the error number (ex: TNS-12560).
0
vandy02Author Commented:
I got it to work.  I just backed up my tnsnames from 9i, uninstalled 9i and 10 g, and re-installed 10g.  All is working now.

Thanks
0
vandy02Author Commented:
Worked
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.