Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Oracle 10g instant client

Posted on 2006-10-20
5
Medium Priority
?
8,108 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 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
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 explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

704 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