Should ODBC + Instant Client + ADODB work?

Hi, I have an old application in VB.NET that connects by ODBC using a filedsn that uses Microsoft ODBC for Oracle driver using ADODB.
I have a problem because numbers with decimals are being returned as strings because of the client regional settings.
I've tried with the Oracle ODBC driver (Oracle in OraClient11g_home in my machine) and it worked.
I want to be able to use this driver without having to install anything on the client machine, only by using the Oracle Instant Client dll.
But after many tests I couldn't make it work.
Is it possible? How can I make it work?
Thanks in advance.
Edited by: user7304687 on 29/Ago/2012 2:03

For ODBC? Not really. It requires registry changes in order to register an ODBC driver with Windows and there's just no getting around that.
If you were to write something that made all those changes yourself, then you might be able to get around it by having your app's installer do it, but that would be highly error prone.
If you were using .net, you could use the managed provider that's coming out soon.

Similar Messages

  • ODBC instant client driver rpm for Linux X64

    Hi,
    Can anyone tell me where can I find odbc instant client driver rpm for Linux X64 edition.
    I can only see for Linux x32 not for X64.
    Edited by: user11128035 on Sep 6, 2009 3:13 AM
    Edited by: user11128035 on Sep 6, 2009 3:15 AM

    I don't understand your step 7 (the first step 7, actually).
    What is that unixODBC-2.2.14-linux-x86-32.tar.gz, where did it come from, and why are you doing all that?
    unixODBC should be installed after step 5.
    I guess that that is the cause of your problem.
    isql is not linked against readline at all on my RHEL 5 system.
    Do you notice any improvement after removing the files from that tar.bz file?
    Yours,
    Laurenz Albe

  • Odbc instant client configurtion on Intel core i7,Windows 7,64 bit system

    Hi all,
    I tried to install the odbc instant client on the above mentioned configuration following the instructions given in the instant client package after downloading from the link given below(Basic and odbc packages).
    http://www.oracle.com/technology/software/tech/oci/instantclient/index.html
    But i cannot get this to work,i cannot find the microsoft odbc for oracle driver in the data sources in the system dsn tab.Did anyone come across such a scenario and make this work.It would be great if you can help find a way out of this.
    Thanks!

    You getting everything mixed up. First it's not the "odbc instant client", but the Oracle Instant Client. The Oracle Instant Client is not an ODBC driver but Oracle native drivers (OCI). Secondly the "microsoft odbc for oracle" driver is, as it's names implies, a Microsoft driver, not an Oracle driver so it's never going to be installed by the Oracle Instant Client. Finally you shouldn't need to use ODBC for Oracle. Use OCI to connect to Oracle databases.

  • Linux ODBC Instant Client and Web access?

    Hi,
    I have downloaded instant client 10.2 and the corresponding ODBC RPM, installed them on a CentOS 4.7 (32 bits) Linux machine. I have also installed UnixODBC on this machine. After a lot of experiments and searches on Internet, I have finally obtained a working state. I.e. using DataManager to test the connection, I access to the Oracle Server that is on another computer.
    Now, I am in the second step of my tests. I have to access to the database through Internet. The scheme is the following:
    1- a web client is connected, to my web server (server is HTTPD),
    2- the web server has to access to the Oracle server by using the ODBC Instant Client.
    But this does not work yet. When I try this configuration, I see the error "*can't find the lib libsqora.so.10.1. libcintch.so.10.1 cannot open shared object library*". To solve this problem, I have to tried to define (and export) LD_LIBRARY_PATH in the /etc/sysconfg/httpd file. But this does not work.
    Does anyone has a solution?
    Thanks in advance.

    here, the trace from the log file:
    [ODBC][8089][SQLConnect.c][3549]
              Entry:
                   Connection = 0x81db4a0
                   Server Name = [GTModus][length = 7 (SQL_NTS)]
                   User Name = [GTModus][length = 7 (SQL_NTS)]
                   Authentication = [*******][length = 7 (SQL_NTS)]
              UNICODE Using encoding ASCII 'ISO8859-1' and UNICODE 'UCS-2LE'
    [ODBC][8089][SQLConnect.c][1012]Can't open lib '/usr/lib/oracle/10.2.0.4/client/lib/libsqora.so.10.1' : libclntsh.so.10.1: cannot open shared object file: No such file or directory
    Concerning exporting LD_LIBRARY_PATH I did as explained in one of the few posts found on internet. I have also tested by modifying the httpd.conf file by adding SetEnv directives. But whatever the changes I did, it seems that, through internet, the environment is lost.

  • Unable to install 64-bit Oracle ODBC Instant Client on Windows 2008 R2 machine.

    I am trying to upgrade the Oracle ODBC driver from the 32-bit version currently installed (ODBC Instant Client Release 10.1.0.5.0, April 2006) to a newer 64-bit version but have not been successful.  I have had success at uninstalling and reinstalling the existing 32-bit version package (release 10.1.0.5.0) however when I've tried to install the 64-bit ODBC Instant Client (Release 12.1, December 2012), I run the odbc_install.exe application inside the package.  it appears to run without issue/compliant, but then I do not see the 64-bit Oracle ODBC driver anywhere, either if I go via the traditional Administrator Tools --> ODBC Data Sources or if I go to the c:\windows\syswow64\odbcad32.exe route.  Further investigation into the ReadMe file (ODBC_IC_Readme_Win.html) reveals that you need the 3 DLLs oci.dll, oraociei11.dll and orannzsbb11.dll which the package does not come with. Where could I obtain the correct version of these DLLs or else where can I get an installation package which already contains them?
    Any help with this is greatly appreciated.  Thank you

    Welcome to the forums !
    Pl post this in the Instant Client forum - Instant Client
    HTH
    Srini

  • How to make the Data Source Administrator see the 9208 ODBC instant CLient.

    I have installed the 9208 Oracle ODBC instant CLient as per the instructions in the accompanying README.txt.
    Part III: Exploding the Kit onto your system
    Expand the self-extracting archive file onto your hard drive.
    C:\> ORA9208.EXE
    Part IV: Installation Instructions
    This section assumes the following:
    1. Oracle 9.2.0.0.0 client has already been installed on your system,
    and necessary 9.2.0.8.0 patch has been applied.
    2. Part III has been completed.
    Software fixes:
    Refer to release notes (ODBCRelnotesUS.htm) for a complete list of
    Software fixes.
    Installation Instructions
    Once the self-extracting archive file ORA9208.EXE has been
    exploded it will create an directory structure as shown below on
    your hard drive.
    The directory structure after unzipping and where the files to be
    copied are shown below:
    1. a. ORA9208\bin\sqora32.dll ---> <ORACLE_HOME>\bin\
    b. ORA9208\bin\sqoras32.dll ---> <ORACLE_HOME>\bin\
    c. ORA9208\bin\sqresus.dll ---> <ORACLE_HOME>\bin\
    2. a. ORA9208\ODBC\html\ODBCRelnotesUS.htm ---> <ORACLE_HOME>\ODBC\html\
    b. ORA9208\readme.txt ---> <ORACLE_HOME>\ODBC\html\
    3. ORA9208\ODBC\mesg\oraodbus.msb ---> <ORACLE_HOME>\ODBC\mesg\
    All of the above has succeeded ok; however whilst trying to create new DSN the intsant client is not listing as an available driver. What's missing please?

    The package you downloade is not ODBC Instant Client package
    Instant Client Concept came into existence from 10.1 onwards only
    What you downloaded are the patched 9208 ODBC Drivers

  • Can't get instant client to work on Win XP

    This is driving me nuts. I'm trying to get instantclient10_1 (10.1.0.4) to work reliably on Win XP so I can use it in deploying a Python app I'm writing. I have one XP system on which I have the instant client installed and working. By this I mean that it works with the appropriate of sqlplus. It also works with cx_Oracle. However, I do need to set ORACLE_HOME in order to achieve this (contra the documentation). I do not seem to need to set SQLPATH.
    But I can't get it to work on any other system. I copy my instantclient10_1 directory over and use the same batch file that works on the "good" system, but I get "invalid or unknown NLS parameter value specified". I'm using a command of the form
    sqlplus user_name/[email protected]:1521/db_name
    I've also tried a "fresh" install on that machine. Same story. I've tried it on another machine as well. Same story. It only works on this one machine!
    It actually took me quite a while to get it to work on that machine, involving installing and uninstalling the full client, the instant client, both, etc. But it does work there.
    Another odd "feature": On the "good" machine, if I fail to set ORACLE_HOME, it errors and suggests I do this. On the "bad" machine, I just get the "invalid or unknown NLS" error.
    There are other ORACLE directories on these machines (e.g., ORA17). But I get the same results if I hide these and take all reference to them out of environment variables.
    Any suggestions will be greatly appreciated. Why is it working on the one system? Why isn't it working on the others?

    There's one more way that the previously-existing Oracle directories on the other machines might be tripping you up - with registry settings. In particular, the HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\(some home)NLS_LANG registry key may be associated with the "invalid or unknown NLS parameter value specified" error you're getting.
    Of course, the Instant Client isn't supposed to have to mess with the registry, so that makes me suspicious. And I got Instant Client SQL*PLUS on a clean XP machine to work without setting an ORACLE_HOME. All this makes me suspicious that some stuff from outside your Instant Client is being run. I know you said you cleaned your environment variables, but double-check that the other Oracle directories are out of your PATH.
    If you have permission to, you might want to thoroughly scrub the old Oracles from the other machines (starting with running the Oracle Installer, then hand-cleaning the registry, the c:\Ora92 or whatever directory, and then c:\Program Files\Oracle). If you have MetaLink, Document 74790.1 is a dated but good guide to cleanly de-installing an old Oracle installation from Windows. It's much more difficult than it ought to be; sometimes it feels like an Oracle home is never truly gone. If you can't do that, perhaps save a copy of your registry and then temporarily rename HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE to ORACLE_HIDDEN, or something - something to keep any existing registry settings from distracting your Instant Client.
    Good luck!

  • Instant Client not working on Windows Server 2003

    Hi everybody,
    I have installed the Instant Client libraries on a machine running Windows Server 2003 in order to connect to a remote Oracle server. I also installed the sqlplus package. I copied them in a local directory, updated the Environment variable PATH and restarted. When I try to execute sqlplus to test if everything works fine, I get the following errors:
    sqlplus user/[email protected]:1521/orcl
    SP2-1503: Unable to initialize Oracle call interface
    SP2-0152: ORACLE may not be functioning properly
    Also, when I try to use PHP OCI8 functions like oci_connect() I get an error like:
    PHP Warning: oci_connect() [function.oci-connect]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that PATH includes the directory with Oracle Instant Client libraries
    I checked it and the PATH variable points to the instant client libraries.
    Any ideas?
    Thanks in advance!

    I get the following errors: sqlplus user/[email protected]:1521/orcl SP2-1503: Unable to initialize Oracle call interface SP2-0152: ORACLE may not be functioning properly Also, when I try to use PHP OCI8 functions like oci_connect......Like the error suggested, the instant client libraries does not include the Network Service required by SQLPLUS.
    The connect string you are trying to use doesn't work for SQLPLUS. SQLPLUS will need proper TNS names configured.
    In another words, instanct client libraries installation is not enough to use sqlplus. Use Runtime installation or Customized installation.

  • 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.

  • 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 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.

  • 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 ?
    Thanks

    I tested the Oracle Instant Client with a Oracle 9i release 2 server running on Windows with Visual Studio.net 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
    http://download-east.oracle.com/docs/html/A95493_01/gblsupp.htm#634282
    I verified this was using the correct client software by using the sqlplus add-on to the instant client.
    For me, I set:
    SET NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
    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:
    http://www.oracle.com/technology/tech/oci/instantclient/ic-faq.html

  • Instant Client & Oracle 9i

    Hello,
    may be the wrong forum to ask this question.
    Can anyone tell me that can I connect to Oracle10g database with Oracle 9i client.... if yes, from wherei can download it.
    second, can instant client only works with 10g Database.
    regards

    Tabs,
    Yes, it is possible to connect to the Oracle 10g database using an Oracle 9i Client. You can download a client from the otn.oracle.com site, under downloads for databases. There should be a client CD available for your version and platform. However, why not use the 10g client?
    Also, Instant Client is a client that is only available for 10g. However, that does NOT mean it can ONLY connect with the 10g database. It can connect with databases back to 8.1.7.
    I hope that helps.

  • Instant Client Basic Lite 10.2.0.1 & VS2005

    Here is the scenario...built a VB2005 thin client app/10g backend with 9i client installed on local machine....works great. Tried app on another machine and app failed due to the app requiring OC 8.1.7 or greater (this machine had OC 8.0.6.2c). Built an MSI installer to install Instant Client Basic Lite 10.2 files and update path and installed on this machine. Problem fixed so I thought. Works great on machine which previously had OC 8.06.2c, however when installing the app and Instant client on a machine which never had an Oracle client, the app fails stating Oracle Client 8.1.7 or greater must be installed.
    What am I missing?
    Paul

    Thanks for the quick reply.
    It is a .NET app which uses the OracleClientAdapter packaged with VS2005. I find it interesting that installing the instant client in combination with OC 8.0.6.2c results in a working App considering 1) The App requires 8.1.7 or above and 2) the info you just provided that it does not yet support .NET.
    To answer your question - on the non-working App on the XP machine that has just the PATH set to Instant Client, ORACLE_HOME is not specified. It's is an end users machine, where it was the first time testing the prototype App.
    Do you think setting ORACLE_HOME=x:\instantclient has a chance of making the instant client work on this machine? I will try this out tomorrow as the end user is in town and has offered their machine for a couple of hours.
    The only significant differences that are obvious to me between my XP machine using instant client successfully and the non- working machine is the following:
    Installed on My Machine
    ===========================
    1. OC 8.0.8.2c is previously installed
    2. ORACLE_HOME is set
    3. TNSNAMES - which doesn't seem to matter - i tested renaming the file to another name and instant client still works
    3. Merant Oracle ODBC drivers
    Looks like I may be forced to install the full Oracle Client on machines running this App. I'll tryi setting ORACLE_HOME on the non-working machine tomorrow and let you know how it goes.
    Thanks,
    Paul

  • Instant client for Oracle 8.1.6

    Hi, I need some previous version of instant client for ODBC. Current version needs at least Oracle 8.1.7. Is it possible to download ODBC instant client with support for 8.1.6?
    Thanks
    Paja

    In my testing, the 10g full client will only connect to 8.1.7.4 and later databases. I beleive the 10g Instant Client would have the same restrictions.
    If you have an 8.1.6 back end, you would need to install a 9i full client to connect or to purchase a third-party wire-protocol ODBC driver that supports 8.1.6. The Instant Client is a new 10g feature.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

Maybe you are looking for

  • Content Server problem after 5.0.2 upgrade

    Hi, We've just upgraded our staging environment from 5.0.1 to 5.0.2 and have lost all branding. The diagnostic script reports the following error: ========== Community Branding Image Publishing Target : FAIL Settings Community Branding Image Publish

  • Need help in deleting multiple tables

    Hi, In one of my scenario i want to delete One record from the table, but there are some child and sub child exist for the table. And the on delete cascade is not set fro any of the table. Structure of my table, Table-1 tab1_pk tab1_name Table-2 tab2

  • Switching tab behavior in JTextArea

    I think by default Multiline text areas in windows will tab to the next focusable component by pressing the tab button and will create a tab character within the text area by pressing ctrl-tab. JTextArea has the opposite behavior. Does anyone know ho

  • Music Device Not Working

    Why isn't some of my music working on my device? The screen turns grey with an unknown album then goes to the next song or tries to play the mucus but it isn't helpful. Can someone help me please.

  • Org.Assignment Error_0001

    Respected Seniors, Hope to get your valuable inputs on this issues The issue is when i am going for hiring action through PA_40 till Org.Assignment system doesn't have any problem. The moment i filling the data in the 0001screen  and try to go to the