Instant-client odbc installation

I am trying to connect to remote database using R .So i downloaded client-basic-nt and instant-client -odbc from oracle .Unzipped both of them in the same folder and then tried to run odbc_install.exe.
It doesn't give me an error but it i feel it just doesn't execute and escapes .First i thought that it did install the client but i cant see any sqlnet.ora files and tnsname.ora file .In fact i cant find oracle/network directory ?can anyone suggest me is there another set of installation i require before this step ?

this is how I installed Instant client:
1.downloaded oracle client extracted to C:\Oracle Client\
all the files extracted are in the folder as you see here C:\Oracle Client\instantclient_11_2
2.created a C:\Oracle Client\tnsnames.ora
make sure you have the db connection details you want to connect to in this tns file
3. set env. variables. (I hope you know how to do this in windows)
Variable name : TNS_ADMIN Variable value : C:\Oracle Client
Variable name : LD_LIBRARY_PATH Variable value : C:\Oracle Client\instantclient_11_2
Variable name : Path Variable value : C:\Oracle Client\instantclient_11_2 (include this to already existing variable 'path')
hope this helps. reply back if you have a question.
KR

Similar Messages

  • Help Using Instant Client ODBC on Linux

    I am familiar with using ODBC and visual basic under Windows. I would like to use the Oracle instant client ODBC under Red Hat ES3 within a C or C++ program to access an Oracle database.
    Where can I find documentation related to this:
    a) setting up an ODBC connection on Linux
    b) installing the Oracle instant client on Linux
    c) building an application with Oracle instant client ODBC
    Am I correct in assuming that any C/C++ ODBC code examples from windows could also be used on Linux.
    Thanks,
    Werner

    We are also interested in the very same thing. We are using third party compiler called SIMSCRIPT from CACI which has a module called SDBC for database connectivity. SDBC requires ODBC to be installed/configured. Our application is for Linux, therefore we are interested in using the ODBC driver on Linux clients to connect Oracle database servers on Linux and Sparc. I see the odbc related zip (for 10g) and rpm (for 11g) instant client files on the OTN Instant Client download page. How to install/configure odbc instant client? Is there a document/whitepaper/Metalink Note ?
    Thank you

  • Instant client ODBC package

    I'm trying to use the instant client odbc driver but seem to have a problem when calling SQLConnect. Here is my call to the function:
    SQLConnect(connHandle, database, SQL_NTS, username, SQL_NTS, password, SQL_NTS)
    The username and password are passed correctly but for some reason the database (SID) is not. When I specify the SID in TWO_TASK it works fine. Here is the connect string from cli.trc when not specifying the SID in TWO_TAKS:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/home/oracle/instantclient/bin/oracle)(ARGV0=oracletest3)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=db2xml)(HOST=XXXXXXX)(USER=root))))
    Any idea why I wouldn't be able to specify the SID in the SQLConnect function but I'm able to with TWO_TASK?
    Thanks.

    Are you only having this problem when using Instant Client, rather than the full client?

  • Instant Client/ODBC 10.2.0.4 doesn't use PK

    Hi,
    i got the problem in our application (VB6, JET-Engine, ODBC - old school access) simple statements doesn't uses primary keys (constraints). Instead it does a "Full Table Scan" and i don't know why.
    More Infos:
    It's a simple table called e.g. DOCUMENT, it's has a few rows, the important one ist DOC_RECID which was created like this...
    CREATE TABLE DOCUMENT (
    DOC_RECID number NOT NULL,
    PRIMARY KEY (DOC_RECID));
    The Access is via DYNASET, the statement like this "select * from document where doc_recid = 123"
    Tested with Instant Client/ODBC 10.2.0.2, 10.2.0.4 and DataDirects Wired Driver
    Edited by: user11230853 on 04.06.2009 07:35

    Hi, thanks for answering...
    - I don't know if it's not the instant client (i read there's a bug 4608183 in IC < 10.2.0.2, but that's just with double and float)
    And it's doesn't make a "Fullt table scan" when i don't use the application (same statement)
    Quote:
    Note.257828.1 Ext/Pub Full Table Scan While Quering DATE Columns Using Oracle ODBC Driver:
    Note.403198.1 Ext/Pub Full Index Scan in Execution Plan With Access and Double or Float as Primary Key:
    Note.373129.1 Ext/Pub Slow Performance Exhibited by Oracle ODBC Against 10.2 Oracle Database:
    - Yes it is the statement
    - Yes there i updates the statistics myself, and ich also dropped the other indizies and created them again.
    - There are 275.000 rows in the table and 58 columns (varchar2, number, datetime, 2 CLOBs and 1 BLOB)
    Edited by: user11230853 on 04.06.2009 23:42

  • #Deleted in all fields using Instant Client ODBC

    Finally I got Instant Client ODBC installed and working. The trick seemed to be defining ORA_HOME, TNS_ADMIN, and the PATH to point to the Instant Client directory - and alphabetizing the entries in tnsnames.ora!
    Anyway, now in linking tables within MS-Access there is one particular table that displays "#Deleted" in all columns of all rows. If I link to the same table using the regular Oracle ODBC driver, everything displays as it should.
    I don't believe there is anything unusual about the table, no bigints. I show the columns below. Is there an explanation, and more importantly, a fix for this?
    ML_TRANSACTION_ID VARCHAR2 16
    ML_NAME_FIRST VARCHAR2 50
    ML_NAME_LAST VARCHAR2 50
    ML_ADDR1 VARCHAR2 64
    ML_ADDR2 VARCHAR2 64
    ML_CITY VARCHAR2 32
    ML_STATE CHAR 2
    ML_POSTAL_CODE VARCHAR2 10
    ML_COUNTRY VARCHAR2 50
    ML_PHONE VARCHAR2 25
    ML_EMAIL VARCHAR2 150
    ML_TRANSACTION_DATE DATE 7
    ML_TRANSACTION_FREQ NUMBER 3,0
    ML_TRANSACTION_AMT NUMBER 11,2
    ML_TRANSACTION_TYPE CHAR 5
    ML_REPEAT_ID VARCHAR2 16
    ML_REPEAT_DATE DATE 7
    ML_COMMENT VARCHAR2 512
    DONATION_ID NUMBER 22,0
    IS_PROCESSED CHAR 1
    FILEDATE_STRING VARCHAR2 10
    IMPORT_DATE DATE 7
    BATCHNO VARCHAR2 16

    Hi all. Just got ODBC working w/the instant client and would like to add what I've found with this with some quick testing.
    I created a new Access 2002 database and created links to a test database on our 8.1.7.4 db. Created a link to the same schema/table in the test 10g database. The table from 8x works fine. The table from 10g has the #deleted for all data. On tables from 10g where the primary key is defined using a numeric column (seq number generated) the data look fine. If the table has a text based PK then I get the #deleted for all rows. The same keys in the 8x tables work fine.
    Hope this helps in tracking down what might be amiss.

  • Instant client ODBC driver for Linux

    I had previously posted this under the ODBC forum, but didn't get a response there.
    I am familiar with using ODBC and visual basic under Windows. I would like to use the Oracle instant client ODBC under Red Hat ES3 within a C or C++ program to access an Oracle database.
    Where can I find documentation related to this:
    a) setting up an ODBC connection on Linux
    b) installing the Oracle instant client on Linux
    c) building an application with Oracle instant client ODBC
    Am I correct in assuming that any C/C++ ODBC code examples from windows could also be used on Linux.
    Thanks,
    Werner

    Hi,
    >>a) setting up an ODBC connection on Linux
    go to http://www.unixodbc.org/
    More information you can take a look on Note:404041.1 from Oracle Metalink
    >>b) installing the Oracle instant client on Linux
    You can take a look on this link below:
    http://www.oracle.com/technology/software/tech/oci/instantclient/index.html
    Cheers

  • Where can I download the instant client ODBC driver for windows 7

    I upgrade to windows 7 and my instant client connecting to oracle from ms Access stop working. Is there any documentation on how it works on windows 7. I use instant client and odbc cleint for xp.
    Thanks

    11.2 is currently the only supported version on Win7, and you can get the instant client here:
    http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html
    Hope it helps,
    Greg

  • Instant Client ODBC driver name

    On one machine the driver is called "Oracle in instantclient11_1" while on another it is called "Oracle in instantclient_11_2"
    Is the 11_1 and 11_2 just different versions of the client, or does this mean that this is my 2nd install of the client?
    Cheers,
    Daniel
    Edited by: Daniel L Williams on Jul 26, 2011 3:00 PM

    That is just the name of the directory where Instant Client was installed.
    Due to the way the Instant Client ZIP files are packaged, that usually contains the name of the version.
    I guess the reason is to avoid a name collision of ODBC drivers from different Oracle versions on the same machine.
    You can change the ODBC configuration if you want different names.
    Yours,
    Laurenz Albe

  • Connectionstring to be used in ASP for instant client ??

    Hi,
    I'm trying to use oracle instant client for one of my projects.
    I have installed basic, sqlplus and ODBC for instant client.
    I have set all the environment variables. I have the tnsnames.ora and sqlnet.ora
    So far I have succeeded in connecting to a DB Server through sqlplus. I also created a DSN successfully using the driver "Oracle in instantclient10_2" which gets installed when I install instant client ODBC. These indicate that mos tof settings are right. It is good so far.
    Now I'm trying to use a connection string in ASP which connects to a DB server using this instant client.
    I need one DSN connection string and one DSN-less connection string.
    So far I have tried the following:-
    1)
    Driver={Oracle in instantclient10_2};Server=<Service Name>;Uid=<UserID>;Pwd=<Password>;
    This resulted in the error:-
    Microsoft OLE DB Provider for ODBC Drivers error '80004005'
    [Oracle][ODBC][Ora]ORA-12560: TNS:protocol adapter error
    2)
    StrCon.Open "Driver={Oracle in instantclient10_2};Dbq=<Server IP address>:<port>/<serviceName>", "UserID", "Password"
    This resulted in the error:-
    Microsoft OLE DB Provider for ODBC Drivers error '80004005'
    [Oracle][ODBC][Ora]ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Can you please help me out with these?
    Thanks in advance
    Jai

    Hello,
    I tried to use either of the 2 connections you gave but I still get an error:
    DSN
    Microsoft OLE DB Provider for ODBC Drivers error '80004005'
    Specified driver could not be loaded due to system error 5 (Oracle in instantclient10_2).
    DSN-less Connectionstring:
    Specified driver could not be loaded due to system error 5 (Oracle in instantclient10_2).
    Thanks in advance,
    Do you have an idea as why this happens?

  • Instant Client with SQL Server - HELP!!

    G'day all...
    My goal is to connect to a server using Oracle Database version 8.1.7.4, 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:
    http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html
    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
    SQLState=S1000
    [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 8.1.7.8.1.0 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:
    AuthenticationMethod=Type2
    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:
    http://www.webmasterkb.com/Uwe/Forum.aspx/coldfusion-server/3206/SQL-Server-2000-Windows-A uth
    Sorry I can't be more clear for you.

  • Oracle Instant Client & Oracle 9i Client Co-existence

    I am having problems installing Instant client with existing Oracle 9i client. Some of our users have Oracle 9i client already installed. In this case, I need to do the following to make it work.
    1. Add the Instantcclient dir path
    2. Remove oracle_home from registry
    3. SET NLG_LANG and TNS_ADMIN env variables.
    The main issue we are facing is with TNS_ADMIN. When you set this variable to Instantcclient dir , then both Oracle 9i and InstantClient 10g started using the tnsnames.ora in instant client dir. This is not acceptable , as some of the might intend to use Oracle 9i network/admin/tnsnames.ora file when they use Oracle 9i ODBC driver.
    Can you please tell me how to install/configure Instant client 10g with an existing Oracle 9i client. Also, can you send me the ODBC Connection string thats doesn't use tnsnames.ora.
    Your help is appreciated.
    Thanks

    Metalink note 90419.1 describes how to connect to a database without using tnsnames.ora. eg
    sqlplus system/manager@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=tiger5.com)(Port=1521))(CONNECT_DATA=(SID=V815)))
    I cannot use this method when creating an ODBC DSN. I tried the Oracle9i ODBC driver, the Microsoft ODBC driver for Oracle but not the Oracle10g instant client ODBC driver. I suspect that the long string exceeds the ODBC specification.
    I have had some success using a MS-DOS Batch File to launch an application that required the Oracle7 client long after it had been removed from the registry. This could work for the Oracle10 Instant Client
    REM set up the environment variables
    REM these are local to this application
    set ORACLE_HOME=%CD%\oracle7client
    set TNS_ADMIN=%ORACLE_HOME%\NETWORK\ADMIN
    SET ORA_NLS32=%ORACLE_HOME%\NLSRTL32\DATA
    set NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    set API=%ORACLE_HOME%\DBS
    path=%ORACLE_HOME%\BIN;%PATH%
    REM run the application
    DBOUTIL.EXE

  • Win7 x64 - how to configure 32-bit Instant Client

    I am having difficulty getting Instant Client to establish an ODBC link to Excel 2007, a 32-bit app.  My OS is Windows 7 Professional x64 on a Windows 2008 domain.
    I installed Oracle 11g Client 64-bit (11.2.0.3.0), Instant Client Basic 64bit, and Instant Client ODBC 64bit.  Path and TNSNAMES parameters were set correctly, and I was able to use Windows Admin Tools to successfully establish a connection to PowerSchool's Oracle database.  So far, so good.
    When I tried to use this connection in Excel 2007, I got an error message stating that "the specified DSN contains an architecture mismatch between the Driver and Application."  More research led me to conclude that I need to install 32-bit Instant Client Basic and ODBC.
    So I downloaded the appropriate versions of both of these, installed it into c:\ora\<username>\product\11.2.0\client32 (a sibling to the 64-bit client_2 folder), and now I'm stumped.  Running windows\sysWOW64\odbcad2.exe, I see what I think is the 64-bit client, which gives an error message about incompatible architecture (again, 64 vs 32 bit).
    What parameters need to be set with odbcad2.exe, and how?  Do I need to run the odbcconf.exe program in sysWOW64?  I tried adding the ...\client32 folder to PATH; no effect.  Is this described in excruciating detail anywhere?

    Ferdimar,
    This problem sounds like the server is incorrectly configured. You can try verifying that it is setup correctly for the TNS listener.

  • Instant client

    On Windows XP, do I need adminstration rights to install the 'instant client' from oracle?
    I've tried to install it with a normal user. It says it's installed correctly, but when I go to the 'ODBC Datasource Administrator' and want to add it to my user ODBC-Connections, it's not in the list.
    What am I doing wrong?
    This is what I've done so far:
    Downloaded Instant Client + ODBC addon. Unzipped both contents to a new folder, then executed odbc_install.exe. Then I've added the directory to my users PATH.
    Now it should get listed in odbc-sources, but it's not.
    Message was edited by:
    socken

    Hi,
    I updated yesterday's thread: database access
    Anyway, you could ask your sysadmin to try to set this up with his administrative account?
    But there should be no need for this. The instantclient ODBC driver should now be available when you create a new ODBC data source.
    Regards,
    Yoann.

  • MS SQLServer Linked Server using Instant Client?

    Does anyone have an example of setting up a linked server in SQLServer using instant client ODBC?

    user11273096 wrote:
    Hi All,
    PLease need help urgently....
    Have issue of connecting to a remote oracle server after following several tutorial online from step A-Z. http://www.dbatoolz.com/t/installing-oracle-instantclient-basic-and-instantclient-sqlplus-on-win32.html
    I am the DBA that installed the remote oracle too so every information are right.Either you are mistaken or Oracle is in error.
    I doubt Oracle mis-reports reality!
    >
    These are the errors: ORA-12154 or ORA-12560 TNS: protocol adapter error.ORA-12154 ALWAYS only occurs on SQL Client & no SQL*Net packets ever leave client system
    ORA-12154 occurs when client requests a connection to some DB server system using some connection string.
    The lookup operation fails because the name provided can NOT be resolved to any remote DB.
    The analogous operation would be when you wanted to call somebody, but could not find their name in any phonebook.
    The most frequent cause for the ORA-12154 error is when the connection alias can not be found in tnsnames.ora.
    The lookup operation of the alias can be impacted by the contents of the sqlnet.ora file; specifically DOMAIN entry.

  • Instant client installation unavailable in ODBC data sources

    I'm trying to install instant client to enable MS Excel to access an Oracle database. OS is Windows 7.
    After installing instant client plus the odbc package, I can't see a new entry in the odbc data sources - only the standard Microsoft sources (Excel, Access, SQL Server) show up.
    There's also an Oracle SQL developer installation on my computer. Connection to the database works fine in SQL developer - so the DB does exist and it is accessible.
    Steps conducted during instant client installation:
    - Downloaded basic lite instant client (11.2.0.3.0) for windows.x64
    - Downloaded odbc package for windows.x64
    - unpacked zip file to instantclient directory
    - executed the odbc_install.exe in the instantclient directory. I'm not sure if this install.exe does anything at all. There was no error message but also no confirmation or reaction of any kind.
    - executing the install file from the cmd window gave me a message, that the odbc drivers were already installed. So I guess odbc_install.exe was executed properly
    - setting some system variables
         1) path variable: added instantclient directory to the ones already listed in path
         2) tns_admin: new entry, pointing to instantclient directory
         3) ld_library_path: new entry, pointing to instantclient directory
    - wrote an tnsnames.ora file using the connect information also used in SQL developer
    - saved tnsnames.ora file in instantclient directory
    - rebooted computer to activate changes
    When opening the odbc data source administration, I'm only able to see Microsoft drivers for Access, Excel, SQL Server. I'd expect to get an Oracle driver option to add to the installed drivers.
    Wild & uneducated guesses about what might cause the problem:
    - IC is installed on E: drive. Maybe some component is expected to be saved on C: (low likelihood, many others would have complained by now)
    - Win 7 often asks for explicit permission to do this or that via popup windows. Maybe the odbc-component encounters such a request ans says "Ummm....???"
    Any idea, what I might try to get an oracle entry in the odbc data source list?
    Best regards
    Peter
    Edited by: 1003309 on 30.04.2013 05:33

    I'm not sure to be honest, but what I downloaded did not have a setup.exe.
    Does what you're talking about allow you to connect to Oracle databases via ODBC? If so, is it downloadble from the Oracle site?

Maybe you are looking for

  • How do I get my printer to print in B

    How to I stop printing in color?  Thanks!

  • Problem of loading the MS SQL Server 2000 driver for JDBC

    Thanks for your reply. I have already tried to give the full class path of .jar files to the System and User Variables but received the same error. I am doing BCA and developing my very first Project on Java. Please, tell me one thing. When I had ins

  • Trouble shooting- MIME type "application/x-shockwave-flash"

    I am experincing a problem with watching youtube videos. This problem is exactly like Subtitlemewrong's problem which stated... "I received only the December '07 update of Quicktime (7.4) and Security Update (2007-009 1.1). That's it. And then my lif

  • Deactivate standard objects in BI content

    Hi guyz, Just want to ask if I can deactivate objects I have already activated in BI content? If so, how will I do it? For example, how will I deactive 0CALMONTH or 0TCT_C01 cube? Thank you! Loeda

  • FGI2 Printing

    Hi, i created a report using transaction FGI2 I have many column in my report for a total of 180 caracters width When i run FGI2 i see all the column, but when i print the reports, the report show only the first 132 caracters. The print is missing so