Solved

Oracle 10g instant client

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
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
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

776 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