Instant client with ODBC driver

Hi, I have problem with the instant client version 10.2 with ODBC driver. I have the instant client base package and ODBC package installed in my computer. the Oracle ODBC driver did appear in the ODBC driver list, when I test the connection with driver, it gives error "Unable to connect, SQLState=08004 [ORACLE] [ODBC] ORA-12154 TNS could not resolve the connect identifier specified" I have another computer which has Oracle 8i client installed and works fine. I copied sqlnet.ora and tnsnames.ora to the instantclient installation folder, same error appears. here is the contents of sqlnet.ora:
# SQLNET.ORA Network Configuration File: c:\oracle8i\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
here is the contents of tnsname.ora:
# TNSNAMES.ORA Network Configuration File: c:\oracle8i\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
barkeep =
(SID = barkeep)
I test the host connection with telnet, it works.
can anybody out there walk me through how to set up instant client?

Thanks Sanjay - I had this problem and your suggestion fixed it: setting the TNS_ADMIN did the trick.
Note: This was on a development PC which already had the Oracle Client drivers installed (so I already had a different TNS_NAMES.ORA in that installation).
It is worth noting that on my target deployment machine which DOESN'T have the Oracle Client drivers (just the InstantClient + Instant-ODBC) I didn't need to set TNS_ADMIN
I'm using the 11g InstantClient ( 32 bit)
Hope this helps someone, and thanks again Sanjay for posting :o)

Similar Messages

  • IBM Client Access ODBC Driver DB2/400 SQL7017 Unable to run statement with specified commit level #-7017

    Changed IBM As/400 system from V4R5 to V5R2 and now get this message when using Access to link to external database the same exact settings on everything I can determine on all computers. 
    IBM Client Access ODBC Driver DB2/400 SQL7017 Unable to run statement with specified commit level #-7017
    I have Commit immediate = *NONE in the Advanced Server Options in ODBC Data Source Administrator. It shows the AS/400 files in the Link Tables list and allows me to add it to the Access table objects, but when I try to open it in datasheet view I get that
    What am I missing?

    Ouch. That's a lot of paste...
    INFO: PATH = C:\oracle\product\10.2.0\client_2;C:\oracle\product\10.2.0
    INFO: The flags set for this home (T:\SDCHS20N440\Oracle\agent10g) are:clean
    SEVERE: Abnormal program termination. An internal error has occured. Please
    provide the following files to Oracle Support : I wonder how "T:" is involved. Looks like you got a management agent on a network drive. If so, is this Home registered with the oraInventory on your machine? Can you try the same install on a machine without any previous Oracle software installed?

  • Problems installing instant client and ODBC

    I am trying to install the instant client and ODBC drivers on an XP machine so I can connect to an OracleXE database via ODBC for an application to use.
    I have unzipped the instant client and ODBC drivers to c:\Oracle and added an entry to the PATH statement.
    When I attempt to add an ODBC connection I get the error "The Oracle client and network components were not found. The components are supplied by Oracle Corporation and are part of the Oracle version 7.3 or greater client software installation. You will be unable to use this driver until these components have been installed"
    Am I missing something in the configuration?
    All help appreciated.

    did you set your ORACLE_HOME=c:\ORACLE and run the odbc_install.exe?

  • Instant Client with full client (Solaris)

    Does the Instant Client come with the full install of Oracle on Solaris, or if there is an option to? Any resources explaining this; I have had a good search on the net but cannot find anything.
    I would like to know when would be provided, whether this is ever available with the full client. I know this comes with the Instant Client but wasn't sure if it would ever come with the full client/database, or if there was an alternative file that should used.
    Message was edited by:

    You are a bit vague.
    What do you mean by "Oracle"? Client, Server, ...?
    And what Solaris do you have?
    You can install Instant Client with the Client installation CD, see
    depending on your taste of Solaris.
    Alternatively, cou can download Instant Client from is part of the Instant Client installation, and of Instant Client only.
    It is a replacement for the message files and other resource files that come with other Oracle products.
    Does that answer your question?
    Laurenz Albe

  • Instant Client With MS VS-2005

    Hi all,
    does anyone have an idea how to install Oracle Instant client to work with MS Visual Studio 2005 on client machines.
    I am working on a VB application using Oracle 10gR2 database. Should I install Full Oracle Client on each Client PC , or can I install Instant Client ?

    I tested the Oracle Instant Client with a Oracle 9i release 2 server running on Windows with Visual 2005 enterprise.
    Here are my tips concerning environment variables:
    1. make sure no other oracle directory is in your PATH
    2. set your PATH to point to your instant client
    3. set your TNS_ADMIN to point to where you tnsnames.ora file is located
    4. set your NLS_LANG
    5. set your ORACLE_HOME to your instant client
    For me, I set NLS_LANG to
    I verified this was using the correct client software by using the sqlplus add-on to the instant client.
    For me, I set:
    Note: before you make any changes, back up your Oracle registry key (if exist) and backup the string for any environment variables.
    Read the Oracle Instant Client FAQ here:

  • How i install oracle client with ODBC using response file method

    I have managed to create a response file using OUI. Currently, I do not know what are the methods which i can install a group of computers using this response file. Any advise
    Thanks in advance.
    Best regards,

    Presumably, any method that allows you to remotely run code on the group of computers would allow you to do a silent install of the Oracle client and ODBC driver. I know Microsoft and various third parties sell such tools, but I'm not enough of a Windows admin to know anything about the relative benefits of the products in this category.

  • Instant Client with SQL Server - HELP!!

    G'day all...
    My goal is to connect to a server using Oracle Database version, from a server which does not have either Oracle Database or the full Oracle Client, preferrably using SQL Server DTS packages.
    With that said, I have installed instant client basic and instant client ODBC suppliment on our first development server using the instructions at the following link without any difficulties, although I do admit that I only have a tnsnames.ora file and not a sqlnet.ora file:
    The trouble is, when I attempt to deploy it on any of our other servers it fails. When I attempt to connect using Microsoft ODBC Driver for Oracle in a DTS package in SQL Server I get the following error message:
    HResult of 0x8004005 (-2147467259) returned Unexpected error occurred. An error result was returned without an error message.
    (Note: This is seen on all other servers I've tried this on except for the first one).
    I have also tried setting up a System ODBC connection using the Instant Client driver but it returned this error message:
    Unable to connect
    [Oracle][ODBC][Ora]ORA-12705: invalid or unknown NLS parameter value specified
    In desperation I have also tried installing the Oracle RDB Driver and the Oracle ODBC driver. Both appear to install successfully yet nothing seems to work.
    As far as I can tell,l these are the differences between the first server and the other servers:
    - First server is MS SQL Server 2000 version: 8.00.760, rest are 8.00.818
    - First server is running MS SQL Server Analysis services, rest are not
    - First server is MS Windows 2000 Advanced Server, rest are MS Windows 2000 Server
    So my first question: Does anyone know if the Instant Client tool works with SQL Server version: 8.00.818?
    My second question: Can anyone else suggest something that I haven't tried yet, short of installing the Full Oracle Client on this server? Not that I'm opposed to doing that, it's just that it's a last resort idea as of now...
    Please help - need to roll this into production soon...

    Kent, I see that many others have reported that error (doing
    a google search), but I see no ready answers. I saw something that
    reminded me of a connection string value that I've seen answer some
    problems. May be worth a shot for you: try adding this string to
    the connection string (in "advanced options") for your datasource:
    If it doesn't solve it, remove it. But keep it handy in case
    it ever may help with some other problem.
    Here's one other possible answer for you: uth
    Sorry I can't be more clear for you.

  • Instant client 11_2 odbc error on windows 32

    Hi Folks,
    I have downloaded instant client 11_2 for windows and added files for basic, sqlplus and odbc to new folder C:|Oracle\InstantClient
    I have added this folder to PATH environment variable
    I have added tnsnames.ora file to this folder
    I have run odbc_install.exe
    When I try to add new system DSN, I select the newly added "Oracle in instantclient_11_2" ODBC driver but then get the following error message: "The setup routines for the Oracle in instantclient_11_2 ODBC driver could not be loaded due to system error code 126." When I press OK on error dialog I get this second error: "Could not load the setup or translator library"
    Does anyone know why this is?
    Many Thanks

    Yep logged in as user with administrator rights
    I finally gave up and just installed Instant Client using full 11gR2 Client install which works fine.

  • Instant Client with SQLServer2005 Linked Server

    I have successfully installed Instant Client on my Windows Server2008. I am able to create an ODBC data source selecting the driver "Oracle in instantclient_11_2". I have also been able to link tables from Access to Oracle. I can logon to Oracle through SQLPlus and execute a query against the Oracle database. I am unsure how to set a Linked Server object in SqlServer 2005. When I use "Microsoft OLE DB Provider for ODBC Drivers" and supply the Product - DBName and Data Source - ODBC data source previously created here is the error I receive:
    TITLE: Microsoft SQL Server Management Studio
    "The linked server has been created but failed a connection test. Do you want to keep the linked server?"
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "DB1".
    OLE DB provider "MSDASQL" for linked server "DB1" returned message "Specified driver could not be loaded due to system error 1114 (Oracle in instantclient_11_2).". (Microsoft SQL Server, Error: 7303)

    Although the instant client for windows doesn't appear to be "officially out", if I try to download and similar files, the files do exist.
    Unfortunately this version still can't connect to my corporate Oracle database:
    Oracle8i Enterprise Edition Release, 64 bit - Production
    With the Partitioning option
    JServer Release - Production
    Oh well, back to a full client install of Oracle 9i.
    Perhaps the official release when its documented on the Instant Client download page will work.

  • ODBC instant client Microsoft ODBC error

    I have successfully installed instant client.
    I have added ODBC connections in Microsodft ODBC Administrator.
    Issue is after I setup or delete one - and try to do something with the second one. The ODBC manager errors out. I get back into the ODBC Administrator and it will let me add/delete something. It seems like 1 task then out.

    For the record, there seem to be two bugs logged with Oracle related to this issue.
    The missing dll problem is bug 4696660.
    The recommended solution is to find copies of MSVCR71.DLL and MFC71.DLL and put them into the instantclient directory (which itself will be in the PATH)
    The ODBC 1114 failure seems something that has been broken in the 10.2 version of instantclient. Bug 5233492 reports a very similar problem and identifies that the problem does not exist in the 10.1 instantclient. I've tested this myself and verified that to be the case.
    It seems at the moment if you want to use InstantClient and ODBC on Windows, you need to use the 10.1 version of Instantclient.

  • Instant Client with Entity Framework (ODAC Beta)

    Is this at all possible (with the current Beta version of ODAC) using the Instant Client installation?
    I have got this working using the ODAC1120240 innstallation. But it would be nice for our customers to not having go through this (not all of them are tech savvy:-).
    I would like to avoid spending hours hunting for documentation, forums etc if this is simply not possible at the moment.
    IF it is possible, why do I get the following error:
    "Unhandled Exception: System.ArgumentException: The specified store provider cannot be found in the configuration, or is
    not valid. ---> System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be inst
    at System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName)
    at System.Data.EntityClient.EntityConnection.GetFactory(String providerString)
    --- End of inner exception stack trace ---
    at System.Data.EntityClient.EntityConnection.GetFactory(String providerString)
    at System.Data.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString)
    at System.Data.EntityClient.EntityConnection..ctor(String connectionString)
    at System.Data.Objects.ObjectContext.CreateEntityConnection(String connectionString)
    at System.Data.Objects.ObjectContext..ctor(String connectionString, String defaultContainerName)
    at KDO.MessageCenterModel.Entities..ctor(String connectionString)
    at ConsoleApplication2.Program.Main(String[] args)"
    In the same directory as my application, I have these DLLs:
    Connecting to Oracle by using "standard" OracleConnection is fine, only when I try to access my Entity model do I recieve the error.
    Any help greatly appreciated!

    Hi Rolf,
    It's works when you don't have a oracle.dataaccess.client settings(like to change oracle types).
    At the end I had to install ODAC using Beta 2, because i am using mapping settings(oracle.dataaccess.client).
    I am looking to test the new version, it's looks like have a XCopy version.
    Let us know if you test the new version.

  • Oracle 9i Lite Issue with ODBC driver

    Cannot reference table in user schema without schema ref
    I create a user TESTUSR and a table TESTTBL, and when I log in with user TESTUSR in SQL*Plus,
    the following will work just fine.
    but then when my ASP on IIS does the same SELECT,
    it will report "[POL-5130] table or view not found".
    But if I use a schema alias,
    it will work fine.
    ODBC Admin shows: "Oracle Lite 40 ODBC Driver".
    Is this a bug ?

    I connect to the database through the same user that created those tables. Do I still need a public synonym ?

  • Problem using instant client with Win 7

    I have a Powerbuilder application that runs very well with Win XP and Oracle client 8 to 10.
    With new computers (Win 7), we try to use instant client... but there are problems with accents ! In fact, all accents are replaced by a "¿" in the database.
    It only appears when we are using our programs from a Win 7 machine with instant client.
    Do you know if there is something to configure to solve this problem ?
    Best regards.

    user1931557 wrote:
    I have a Powerbuilder application that runs very well with Win XP and Oracle client 8 to 10.
    With new computers (Win 7), we try to use instant client... but there are problems with accents ! In fact, all accents are replaced by a "¿" in the database.
    It only appears when we are using our programs from a Win 7 machine with instant client.
    Do you know if there is something to configure to solve this problem ?
    Best regards.
    If the characters only appear on certain clients, then they are NOT being "replaced ... in the database".  What you are seeing is an issue with presentation, not data.

  • Connect Lotus Notes with ODBC driver

    I am trying to figure out connecting SQL Developer with ODBC connection ( set on to ODBC Data Source ) for lotus notes. I am able successfully connect through Excel with that connection. With SQL Developer , its asking for JDBC driver but lotus notes version (R5) what I am using does not support JDBC driver.
    Is there any way to connect using ODBC data source for lotus notes.

    SQL Developer is a Java based tool and requires JDBC. Theoretically you could use the JDBC-ODBC bridge, but there would be no point. SQL Developer is an Oracle specific development and query tool which allows connection to selected other DBMSs in order to support migration to Oracle. Lotus Notes is not one of the supported systems.
    SQL Developer is NOT a general purpose, multi-DBMS tool.

  • Instant client with sqlldr (win32)

    Hi all,
    I am successfully using the instant client(IC) for sqlplus in winXP (32) machines.
    Now I would very much need to use the sqlldr in the same IC-environment. Does anybody know, which additional DLLs of the full-client I need?
    If I have the choice I could possibly live without certain feature of the sql-loader.
    Many thanks in advance for any help in this issue.

    You cannot have sqlldr with Instant Client.
    Install the regular client.
    Laurenz Albe

Maybe you are looking for

  • Can I upgrade my ipod touch from ios6.1.5 to ios7 which i need to use bbc podcasts

    I want to be able to download BBC podcasts. My ipod touch has IOS6.1.5 but to access podcasts I need ios7. Is it possible to install IO7 and how do I do it? Thanks for any help. Bob

  • How to get a sum of the result?

    I want to get the results to display the records only once if I have the same case number. This is my query. SELECT distinct c.case_number, c.bank_name, i.first_name, i.last_name, it.id_name, i.id_number1, i.date_of_birth, i.country_of_birth, (select

  • Pay some expenses through FI and some through payroll

    Friends, Couls we configure Travel Management so that we pay some types of expenses through FI and some through payroll. Thanks!

  • SharePoint Document Library Web Part issue

    i came across with a strange issue. if i am putting document library web part and below task webpart or calender webpart then if i am clicking on New button of doc library it is popping up the task list menu. please refer the below snapshot.  please

  • Uninstall Leopard from new Mac Pro

    Got a brand spankin new Mac Pro at work which was thrilling until it became obvious that nothing works with Leopard (which is what came on the Mac). Too many of our vital apps won't work with Leopard (read Adobe CS2) and the boss isn't prepared to up