Minimum Install for Using ODBC Driver.

What is the minimum installation required for using ODBC from a client machine.
EG I have an application in Access and I want to connect to a table on my oracle server. The user machine, has Access installed, and I don't wnat to install the whole 50 megs(OK I exagerate A little but not much) of NET 8 client just so they can look at a table in Access from Oracle.
What specific elements are necessary in the install, TCP/IP, Named pipe protocol adapters?, required support files?, SQL*plus 8?
Say its a version 8.0.4 server for arguments sake and I want the least hassle setting up 50 users who already have office installed with the latest version of MS ODBC32, they have no Oracle software on their machines.
null

Unfortunately, you'll need to do at least a minimal Oracle client install. While we probably don't actually rely on everything that gets installed here, we don't test our driver with anything less than a minimal install.
Justin Cave
ODBC Development

Similar Messages

  • How to install Oracle 10g ODBC driver  for win 64 bit?

    I need to install Oracle 10g ODBC driver for win 64 bit, I donot know how to do that,
    where to find the driver....
    The driver 10.1.0.5.0 25-Apr-2006 2.1 MB isnot for 64 bits Win server 2003.

    Dear Sir,
    Yes, you can find the Driver here
    http://www.oracle.com/technology/software/tech/windows/odbc/index.html

  • How to install the Oracle ODBC driver for all NT users

    I need to schedule a task on a SQL server running on NT to access an Oracle DB.
    I have installed the Oracle ODBC driver on it and it is working well under my NT account.
    But the SQL scheduler runs on another NT account and the task failed.
    How is it possible to install the Oracle ODBC Driver for all NT users ???
    Thanks for your inputs...

    http://forum.java.sun.com/thread.jsp?forum=48&thread=187964&start=0&range=15#608968
    The above link is a comprehensive "How to get set up and on my way" that I made for someone else learning Oracle/jdbc. Kind of a self-help resource page. I would start from the beginning and download the newest drivers, then set up your environment,...etc.
    hope this helped,
    Jamie

  • Cannot Install Embarcadero Interbase odbc driver on windows 2012

    Hello 
    I am trying to install Embarcadero Interbase odbc driver on a windows 2012 server. But the installer does not load the file into system 32 folder which should contain the DLL for the 64 bit driver. The 32 bit dll goes correctly into syswow folder and the
    driver works. Even if i try to copy the dll from a windows 7 machine and register it succesfully using elevated permissions .The driver shows up under 64 bit but does not load the database. I feel something is off with the permissions on system 32 folder under
    windows. Any help is appreciated. Thanks.

    Contact the application vendor.  This is not a Windows issue but an application issue.  If they do not support running on 2012, there may be nothing you can do.
    . : | : . : | : . tim

  • Specifying Partner Failover in odbc.ini for Linux ODBC driver for SQL Server

    Hi,
    We are trying to specify the partner failover when making connections via Linux ODBC driver for SQL Server. Do you know a way to specify partner failover in the DSN entry in odbc.ini? 
    We are using Linux ODBC driver for SQL Server and unixODBC DriverManager.
    Our DSN is:
    [MyDSN]
    Driver=ODBC Driver 11 for SQL Server
    Description=MyDSN
    Server=MySERVER,<port>
    I also tried to use the following connection string in Python (via pyodbc) bypassing the DSN and connecting using the server name.
    cnxn = pyodbc.connect("Server=server1,<port>;UID=sa;PWD=<pwd>;Driver=ODBC Driver 11 for SQL Server;Failover_Partner=Server2,<port2>;Database=MyDB")
    If the standby DB is on server1 connection fails. It doesn't try server2. If the DB is principal on server1 connection succeeds.
    Thank you,
     Liviu
    LLL

    Hello,
    Did you use ODBC Driver for SQL Server to connect to database that uses database mirroring?
    According to
    the BOL,it does not list "Failover_Partner" as ODBC Driver for Linux connection string keywords.
    But ODBC driver for Linux supports
    AlwaysOn Availability Groups or Failover Cluster Instance by specify MultiSubnetFailover=True when connecting to a SQL Server 2012 availability group listener or SQL Server 2012 Failover Cluster Instance.
    The following case is about similar issue and it seems that ODBC Driver on Linux does not recognize Failover_Partner in connection string. (Not test myself).You can refer to:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/6a8b5223-066d-4493-84a3-b5374a32e433/native-client-on-linux-does-not-recognize-failoverpartner-in-connection-string?forum=sqldataaccess
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Using SQLBindParameter, SQLPrepare and SQLExecute to insert a Decimal(5,3) type fails with SQLSTATE: 22003 using ODBC Driver 11 for SQL Server

    Hello everyone.
    I'm using SQL Server 2014, and writting on some C++ app to query and modify the database. I use the ODBC API.
    I'm stuck on inserting an SQL_NUMERIC_STRUCT value into the database, if the corresponding database-column has a scale set.
    For test-purposes: I have a Table named 'decTable' that has a column 'id' (integer) and a column 'dec' (decimal(5,3))
    In the code I basically do:
    1. Connect to the DB, get the handles, etc.
    2. Use SQLBindParameter to bind a SQL_NUMERIC_STRUCT to a query with parameter markers. Note that I do include the information about precision and scale, something like: SQLBindParameter(hstmt, 2, SQL_PARAM_INPUT, SQL_C_NUMERIC, SQL_NUMERIC, 5, 3, &numStr,
    sizeof(cbNum), &cbNum);
    3. Prepare a Statement to insert values, something like: SQLPrepare(hstmt, L"INSERT INTO decTable (id, dec) values(?, ?)", SQL_NTS);
    4. Set some valid data on the SQL_NUMERIC_STRUCT
    5. Call SQLExecute to execute. But now I get the error:
    SQLSTATE: 22003; nativeErr: 0 Msg: [Microsoft][ODBC Driver 11 for SQL Server]Numeric value out of range
    I dont get it what I am doing wrong. The same code works fine against IBM DB2 and MySql. I also have no problems reading a SQL_NUMERIC_STRUCT using SQLBindCol(..) and the various SQLSetDescField to define the scale and precision.
    Is there a problem in the ODBC Driver of the SQL Server 2014?
    For completeness, here is a working c++ example:
    // InsertNumTest.cpp
    // create database using:
    create a table decTable with an id and a decimal(5,3) column:
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE[dbo].[decTable](
    [id][int] NOT NULL,
    [dec][decimal](5, 3) NULL,
    CONSTRAINT[PK_decTable] PRIMARY KEY CLUSTERED
    [id] ASC
    )WITH(PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON[PRIMARY]
    ) ON[PRIMARY]
    GO
    // Then create an odbc DSN entry that can be used:
    #define DSN L"exOdbc_SqlServer_2014"
    #define USER L"exodbc"
    #define PASS L"testexodbc"
    // system
    #include <iostream>
    #include <tchar.h>
    #include <windows.h>
    // odbc-things
    #include <sql.h>
    #include <sqlext.h>
    #include <sqlucode.h>
    void printErrors(SQLSMALLINT handleType, SQLHANDLE h)
        SQLSMALLINT recNr = 1;
        SQLRETURN ret = SQL_SUCCESS;
        SQLSMALLINT cb = 0;
        SQLWCHAR sqlState[5 + 1];
        SQLINTEGER nativeErr;
        SQLWCHAR msg[SQL_MAX_MESSAGE_LENGTH + 1];
        while (ret == SQL_SUCCESS || ret == SQL_SUCCESS_WITH_INFO)
            msg[0] = 0;
            ret = SQLGetDiagRec(handleType, h, recNr, sqlState, &nativeErr, msg, SQL_MAX_MESSAGE_LENGTH + 1, &cb);
            if (ret == SQL_SUCCESS || ret == SQL_SUCCESS_WITH_INFO)
                std::wcout << L"SQLSTATE: " << sqlState << L"; nativeErr: " << nativeErr << L" Msg: " << msg << std::endl;
            ++recNr;
    void printErrorsAndAbort(SQLSMALLINT handleType, SQLHANDLE h)
        printErrors(handleType, h);
        getchar();
        abort();
    int _tmain(int argc, _TCHAR* argv[])
        SQLHENV henv = SQL_NULL_HENV;
        SQLHDBC hdbc = SQL_NULL_HDBC;
        SQLHSTMT hstmt = SQL_NULL_HSTMT;
        SQLHDESC hdesc = SQL_NULL_HDESC;
        SQLRETURN ret = 0;
        // Connect to DB
        ret = SQLAllocHandle(SQL_HANDLE_ENV, NULL, &henv);
        ret = SQLSetEnvAttr(henv, SQL_ATTR_ODBC_VERSION, (SQLPOINTER)SQL_OV_ODBC3, SQL_IS_INTEGER);
        ret = SQLAllocHandle(SQL_HANDLE_DBC, henv, &hdbc);
        ret = SQLConnect(hdbc, (SQLWCHAR*)DSN, SQL_NTS, USER, SQL_NTS, PASS, SQL_NTS);
        if (!SQL_SUCCEEDED(ret))
            printErrors(SQL_HANDLE_DBC, hdbc);
            getchar();
            return -1;
        ret = SQLAllocHandle(SQL_HANDLE_STMT, hdbc, &hstmt);
        // Bind id as parameter
        SQLINTEGER id = 0;
        SQLINTEGER cbId = 0;
        ret = SQLBindParameter(hstmt, 1, SQL_PARAM_INPUT, SQL_C_SLONG, SQL_INTEGER, 0, 0, &id, sizeof(id), &cbId);
        if (!SQL_SUCCEEDED(ret))
            printErrorsAndAbort(SQL_HANDLE_STMT, hstmt);
        // Bind numStr as Insert-parameter
        SQL_NUMERIC_STRUCT numStr;
        ZeroMemory(&numStr, sizeof(numStr));
        SQLINTEGER cbNum = 0;
        ret = SQLBindParameter(hstmt, 2, SQL_PARAM_INPUT, SQL_C_NUMERIC, SQL_NUMERIC, 5, 3, &numStr, sizeof(cbNum), &cbNum);
        if (!SQL_SUCCEEDED(ret))
            printErrorsAndAbort(SQL_HANDLE_STMT, hstmt);
        // Prepare statement
        ret = SQLPrepare(hstmt, L"INSERT INTO decTable (id, dec) values(?, ?)", SQL_NTS);
        if (!SQL_SUCCEEDED(ret))
            printErrorsAndAbort(SQL_HANDLE_STMT, hstmt);
        // Set some data and execute
        id = 1;
        SQLINTEGER iVal = 12345;
        memcpy(numStr.val, &iVal, sizeof(iVal));
        numStr.precision = 5;
        numStr.scale = 3;
        numStr.sign = 1;
        ret = SQLExecute(hstmt);
        if (!SQL_SUCCEEDED(ret))
            printErrorsAndAbort(SQL_HANDLE_STMT, hstmt);
        getchar();
        return 0;

    This post might help:
    http://msdn.developer-works.com/article/12639498/SQL_C_NUMERIC+data+incorrect+after+insert
    If this is no solution try increasing the decimale number on the SQL server table, if you stille have the same problem after that change the column to a nvarchar and see the actual value that is put through the ODBC connector for SQL.

  • Problem setting up DSN for 10g ODBC driver

    Hello,
    I am simply trying to install an ODBC driver for 10g. To accomplish this, I first downloaded the odbc driver for 10g 10.2.0.2.0. The Readme notes said that I need to install the odbc driver using the Oracle Universal Installer. So I got a copy of just the OUI from our DBA. I installed the OUI 10.2. Using the installer, I installed the 10.2.0.2.0 odbc driver. The Readme notes said to look for the file "products.jar", which was not available, but "products.xml" was, so I used "products.xml", and the driver installed successfully.
    The next step was to set up an ODBC DSN for this driver. When I attempted to do this, the Microsoft ODBC Administrator threw this message: The setup routines for the Oracle in DEFAULT_HOME ODBC driver could not be loaded due to system error code 127, followed by Could not load the setup of translator library.
    Other threads suggested that I copy the DLLs mfc71.dll, msvcrt.dll, and msvcr71.dll from my C:\Windows\System32 directory to the directory where I installed the odbc driver (C:\orant\BIN) and to ensure that this directory path was defined under the PATH environmental variable. I followed all these instructions but to no avail - I am still having the same problem. PLEASE HELP!!! Thanks in advance!!

    Hi,
    >>could not be loaded due to system error code 127
    Did you try install it on other machine ? Maybe this current machine has a DLL versions problems ...
    Cheers

  • How to install Oracle Lite ODBC driver without connecting the mobile server

    My Oracle Lite version is 10g R3.
    I am using branch office version application.
    I wanted to connect oracle client database(.odb file) via Lite DSN in a windows XP machine without installing the client in that device.
    Some of my users wanted to access the client database from backend which requires a DSN entry in that device.Oracle Lite ODBC gets registered in the device only when we do a setup from the mobile server or if Oracle 10g Lite MDK is installed.
    I do not want either of this to be done in my user PC. I wanted a ODBC utility which will register oracle Lite ODBC Driver (Normal & Cleint) in the user PC so that i can manually create and configure the DSN.
    Does anyone have a solution for this?
    Regards,
    Ashok Kumar.G

    Dear Sir,
    Yes, you can find the Driver here
    http://www.oracle.com/technology/software/tech/windows/odbc/index.html

  • Looking for Essbase ODBC driver for iBATIS.

    I've seen this question posted 2-3 times before but not with any solid answer. I'm deloping a piece of Java code that is going to use iBATIS SQL mapping (not really important I guess) to connect to an Essbase database sitting on a Microsoft box and insert information into the tables. Is there a JDBC/ODBC driver available for this? I remember something about the driver being on the server itself with the install but what is the location of it? Looking for any help, thanks.

    Anyone?

  • ORA 2005 error when you using ODBC driver of 10.2.0.3

    I am getting following error when connecting Oracle 10.2.0.3 to Oracle 11.1 database from a thrid part application:
    Issue Description. An application using Oracle ODBC driver version 10.2.0.3 to communicate with the Oracle database 11g tries to update the field “SOURCE_CODE” of LONG data type in table “SUBROUTINE” returns the following error.
    ORA-02005: Implict -1 length not valid for the bind or dfeine datatype.
    I updated my client to 10.2.0.4,, error is still present. Does any one know what patch to install to get rid of this error. I cannot modify the third party code.

    What are the system requirements (supported config) of 3rd party app?
    According to the 9.2 Error Messages document,
    >
    ORA-02005 implicit (-1) length not valid for this bind or define datatype
    Cause: A negative length for the define variable was passed to a define function.
    Action: An explicit, non-negative, length parameter must be passed.
    >
    Perhaps you should report this back to vendor as a bug.
    You could also turn on odbc tracing (driver/dsn config) to catch the cuplrit statement.

  • Installing the Oracle ODBC driver

    Is there any way to wrap only the oracle odbc driver in an
    install program?
    we want to avoid having to go through an entire oracle client
    install.
    Any help would be much apprecitaed.
    null

    Radha (guest) wrote:
    : Is there any way to wrap only the oracle odbc driver in an
    : install program?
    : we want to avoid having to go through an entire oracle client
    : install.
    : Any help would be much apprecitaed.
    I have the same question. The universal installer is too
    complicated for simple client application connectivity
    installation.
    null

  • Forms 6i to sql database using odbc driver

    am using orace forms 6i and i want to connect to sql database to use the tables there i can seem to do that with odbc cos it is asking for 'oracle open client adaptor', please can somebody tell me how and where i can get this adaptor driver.

    I suggest posting this in the Forms discussion forum. The open client adapter stuff is a bit different that the ODBC driver.
    Justin

  • Problems using ODBC Driver. Connection never opens.

    Hi,
    I have a problem with the ODBC driver for oracle.
    This is the behaviour: the first attemp of connection doesn't work, the connection never opens. the second attempt is almost instantaneous but 10 minutes later the connection fails again. It is neccesary to close and open the app using the odbc driver again.
    I've tried everything.
    Thanks in advance,Regards.

    Hi,
    Quote: "ERROR [IM002] [Microsoft] [ODBC Driver Manager] Data source name not found and no default driver specified".
    This error is typically thrown because the code is specifying a DSN that does not exist. So, please make sure you are referencing a DSN that has been created.
    You can refer to this article below:
    https://community.microfocus.com/borland/test/silk_test/w/knowledge_base/10737.how-do-i-resolve-error-im002-microsoft-odbc-driver-manager-data-source-name-not-found-and-no-default-driver-specified.aspx
    Or please add the right conenction string. You can look at following website:
    http://www.connectionstrings.com/
    Note This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and
    has not tested any software or information found on these sites.
    Andy Altmann
    TechNet Community Support

  • Using ODBC driver FOXPRO DBF

    Hello, i am defining a connection using ODBC with foxpro, i am able to see the table but not the column
    Are there parameters to adapt somewhere (SBO,...)

    Hi Bertrand
    Please let me know the following information:
    - Exact version of Crystal Reports Designer. (For this information open Crystal Reports. Go to Help > About Crystal Reports).
    - Exact version of the Business Objects Enterprise.
    - Exact version of the Database.
    - Type and the version of the driver used to connect.
    - Are you able to view all the columns when you create Crystal Report directly using ODBC connection?
    - What happens if you create the Data Connection using OLEDB or Native connection?
    Hope this helps.
    Thanks!

  • Cannot create DSN using ODBC Driver 8.1.5

    I was able to create new DSNs using Oracle ODBC Driver 8.1.5 and linked Access tables. But all of a sudden (yes, without any reason, I was not downloading anything at that time) , I got ODBC-Call Failed. And when I tried to reopen (browse) the linked table, a message saying -
    One of the library files needed to run this application cannot be found.
    Then I realized that I cannot configure existing DSNs using Oracle ODBC Driver 8.1.5. I trid to create a new one. But after I selected the Oracle ODBC Driver, it did not bring me to the screen to set up DSN, and just went back to the same ODBC Datasource Administrator window.
    I tried to use SQL Plus to connect to the Oracle server and it worked. But when I tried the ODBCtest, I got the same message with more details -
    SQLSTATE: IM003, Native Error Code: 160, Driver Message: Specified Driver could ont be loaded due to system error 1114. (Oracle ODBC Driver).
    I tried to follow the 'help' hint but nothing's working. I reinstalled the ODBC driver, and even downloaded the MDAC 2.6 that appeared in one old discussion topic, but still have problems.
    Was it something suddenly crashed? Could someone please help? (p.s. I am using win98). Thanks!

    What version of the mfc42*.dll's do you have in your system directory?
    Justin

Maybe you are looking for