Solved

ODBC Oracle 8i TNSNAMES error

Posted on 2000-03-27
2
941 Views
Last Modified: 2008-03-10
How does the microsoft ODBC driver for oracle know where to look for the tnsnames entry so it can find the database and what influence does installing 7.3 and 8i versions of clients at the same time have on the equation???
0
Comment
Question by:che
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
tbcox earned 500 total points
ID: 2662460
It looks in the Windows registry for certain keys under the CURRENT_MACHINE - SOFTWARE - ORACLE key.

If you want to specify a place for it to look, you can add under ORACLE the key-value pair TNS_ADMIN,"C:\ORAWIN95\NET80\ADMIN" (or whatever).

Installing two clients may have no effect (if they both went into the same Oracle Home) or may break things (if a new Oracle Home got activated during the install).  Only one home can be active at one time.  Try using the Oracle Home Selector to switch between them and see if this helps.

 -Tom
0
 

Expert Comment

by:aultowskis
ID: 2662540
The Oracle Open Database Connectivity (ODBC) driver allows third-party applications that support ODBC to connect to an Oracle database.  
The ODBC knows where to find the Oracle database because after the ODBC driver is installed it has to be configured with the Oracle "Service Name" you are trying to connect too.
For a NT computer, click on Start button and select Settings/Control Panel.  Dbl-click on the ODBC icon; the ODBC Data Source Administrator window will appear. Verify that the Oracle ODBC driver is installed. Now click on the ODBC drivers tab; the window should display "Oracle ODBC Driver".
Click on the User DSN tab to list the to list the ODBC data sources that can be used from the current machine; click on Add buttin. The create New Data Source window will appear.
Click on Oracle ODBC driver, then click finish. The Oracle ODBC Driver Setup window will appear. Type in a meaningful Data Source Name and description is the space provided. Type in a valid Service Name, as it appears in the %OracleHome%\Admin\TNSnames.ora file. Click on Ok to finish the setup.

As for installing Oracle 7.3 and 8i on the same client you would be wise to ensure that they have different Oracle homes, but I heard that if you install 8i on the client that it knows how to communicate with a 7.3 server.

good luck...steve
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many‚Ķ
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question