Solved

Oracle 10g instant client

Posted on 2006-10-20
5
8,098 Views
Last Modified: 2013-12-11
Hi All:

I have been trying to get Oracle 10g instant client running on my computer for hours.

The platform is Windows Server2003,it is running within a PC Client and the Oracle installation directory is "c:\oracle". After the basic installation it is suggested that:
1. A system variable called TNS_ADMIN be created and pointed at the directory where the tnsnames.ora is placed.
2. The latest files mfc71.dll and msvcrt.dll where located and pathed and for extra caution they were also placed in the bin directory.
3. The accompanying ODBC drivers have been installed and appears as an option in the ODBC administrator.
4. I have gone so far as to check the registries for any odd paths, classes, or ODBC variations that could be affecting things and, 'yes' even rebooted.

Now everything should work but... The following error continues to popup:

“The setup routines for the Oracle in instantclient10_2 ODBC Driver could not be loaded due to system error code 126″
 ...followed by:
“Could not load the setup or translator library”

Same issue from the start to finish...

MTIA Jim
0
Comment
Question by:jlawrence1
[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
  • 3
  • 2
5 Comments
 
LVL 8

Expert Comment

by:Pierrick LOUBIER
ID: 17787190
Try to copy mfc71.dll and msvcrt.dll in your Instant Client directory.
You can also register these libraries using regsvr32.
0
 

Author Comment

by:jlawrence1
ID: 17788164
Good thought. That has been tried. I also made sure they were loaded in the system32 directory.
0
 
LVL 8

Expert Comment

by:Pierrick LOUBIER
ID: 17788502
Is InstantClient directory in your PATH ?
0
 
LVL 8

Accepted Solution

by:
Pierrick LOUBIER earned 500 total points
ID: 17788635
Sounds like you miss msvcr71.dll... See below MetaLink note 336693.1 :

Subject:  Cannot Create DSN With Oracle Instant Client and ODBC Driver
  Doc ID:  Note:336693.1 Type:  PROBLEM
  Last Revision Date:  07-SEP-2006 Status:  PUBLISHED
--------------------------------------------------------------------------------

Applies to: Oracle ODBC Driver - Version: 10.2.0.1.0
Microsoft Windows
Microsoft Windows (32-bit)
SymptomsUnable to create an ODBC DSN with Oracle Instant Client and ODBC Driver for Instant Client Version 10.2.0.1.0. Receiving the following error messages.

"The setup routines for the Oracle in instantclient10_2 ODBC Driver could not be loaded due to system error code 126"
Then clicking ok on this message gives another one
"Could not load  the setup or translator library"

ChangesThe installation of Oracle Instant Client and Oracle ODBC Driver for Instant Client version 10.2.0.1.0 CauseThis error may occur for the following two reasons.

1. There is not a mfc71.dll, msvcrt.dll and msvcr71.dll   located on the pc that the Instant Client is installed on.

2. The directory that mfc71.dll  , msvcrt.dll and msvcr71.dll  is in is not included in the path environment variable.

SolutionTo implement the solution, please execute the following steps:

1. Find the mfc71.dll , msvcrt.dll and msvcr71.dll if it on your pc and include the directory in which it is in in the path variable. It is normally found in the C:\WINDOWS\system32 directory. Or copy mfc71.dll, msvcrt.dll and msvcr71.dll   to the directory where the instant client is installed.

2. If you have installed the full Oracle Client and ODBC Drivers for version 10.2.0.1 mfc71.dll , msvcrt.dll and msvcr71.dll   are located in the ORACLE_HOME\bin directory


0
 

Author Comment

by:jlawrence1
ID: 17791330
Thanks for the tip. The one issue that I had missed was the requirement for the dll named msvcr71.dll which appears to be a 16bit dlll as it is stored in the Windows System directory... curious.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
Suggested Courses

615 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