Solved

Oracle 10g instant client

Posted on 2006-10-20
5
8,075 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
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

820 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