How to update Oracle ODBC driver in Windows and all existing ODBC sources - windows

I would like to update Oracle ODBC driver on Windows 2008 R2 64bit Machine from version 11.2.0.1 to 11.2.0.4.
I downloaded from http://www.oracle.com/technetwork/topics/winx64soft-089540.html: (version 11.2.0.4)
Instant Client Package - Basic
Instant Client Package - ODBC: Additional libraries for enabling ODBC applications
Then unzipped two files, merged them into one folder and then from CMD line with administrative privileges run script:
odbc_install
Then I was able to see the driver on the list in ODBC driver in 'Microsoft ODBC Administrator'.
The problem is that I would like that all exsting configured System DSN which use 11.2.0.1 Oracle driver should be updated with 11.2.0.4 version.
Could you please advise me what steps I should take to achieve it.
Best regards
Daniel

You can do it directly in your Registry. ODBC Drivers are located at:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC\ODBCINST.INI\{Oracle Home Name}\Driver
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\{Oracle Home Name}\Driver
Check and update following values:
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\{Your DNS Entry}\Driver
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\{Your DNS Entry}\Driver
HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\{Your DNS Entry}\Driver

Related

Making a connection to an Access Database with SQL Developer v4.0.3 and the JDBC/ODBC Bridge

screenshot of SQL Developer ODBC connection issue to MS-Access
http://www.oracle.com/technetwork/articles/sql/o38sql-102034.html (your article at Oracle OTN)
I read the Oracle OTN article about making connections to an Access database using SQL Developer, but I can't get it to work.
The error below shows that the default JDBC/ODBC bridge driver or data source name cannot be found.
Status : Failure -Test failed: [Microsoft][ODBC Driver Manager] Data
source name not found and no default driver specified
The Access
database exists, and the system tables in the access database are not
hidden.
I am using SQL Developer v4.0.3 that uses JDK 1.7. I know that SQL Developer 4.1 uses JDK 1.8, and Access connections are not supported in that latest version of SQL Developer.
I also installed both JDK 1.6 for 64bit and 32bit computing, and changed my system path setting to use of these versions. I have tried both 1.6 versions, without success.
It's my understanding that SQL Developer uses the JDBC/ODBC Bridge and requires no other configuration. A third party JDBC driver is not required to connect to Access.
How do I configure SQL Developer to locate the JDK v1.6 and use the appropriate version (JDK 1.6 64bit or JDK 1.6 32bit) to connect to an Access Database? I've been working on this all day and I'm stumped.
64bit MS Access ODBC Drivers
The solution to enable SQL Developer v4.0.3 to connect to a MS Access database was to install the 64bit ODBC Drivers from Microsoft. I downloaded the Access Runtime Engine version 2010 which works with an Installed 32 bit version of MS Access (and other 32bit 2007 office products)
The following links were helpful:
https://www.microsoft.com/en-us/download/confirmation.aspx?id=13255
The ODBC drivers are coupled with the MS Access runtime engine.

how to create oracle DSN?

I have tried downloading anything remotely resembling the oracle odbc drivers and still i am unable to generate a DSN to oracle.
I do not even see oracle drivers showing up in the odbc creation wizard!
All I see are drivers for SQL server and SQL native client.
how do I create a system DSN for oracle?
You need to use the 32 or 64 bit ODBC Admin client.
A 64-bit version of the Microsoft Windows operating system includes the following versions of the Microsoft Open Database Connectivity (ODBC) Data Source Administrator tool (Odbcad32.exe):
The 32-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\SysWoW64 folder.
The 64-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\System32 folder.
See:
http://support.microsoft.com/kb/942976

Oracle ODBC - missing drivers?

I installed
ODAC 11.2 Release 3 and Oracle Developer Tools for Visual Studio (11.2.0.2.1)
from http://www.oracle.com/technetwork/topics/dotnet/utilsoft-086879.html
but i still do not see Oracle driver in the ODBC Manager... please help.
i checked the ODBC Drivers in the Registry, and only found SQL there... maybe i downloaded the wrong thing? someone please point me in the right direction.
Call "c:\windows\SysWOW64\odbcad32.exe" from the start/run box or from the command prompt, so
the drivers are more likely to appear. I´ve been through similar problems with Oracle Instant Client (basic and ODBC) 32-bit driver not appearing at the ODBC Admin Window. I was able to configure a Data Source to Oracle 11g Express by calling "c:\windows\SysWOW64\odbcad32.exe" this way.
Regards.
I can't access the page you referenced to read about it, but to install the Oracle ODBC driver you can install the Oracle Instant Client. This page gives some good instructions on how to do it. Once the instant client is installed, the Oracle ODBC driver should show in the ODBC Manager. Note that you do not need a full client install to use the ODBC driver.
Run cmd with elevated privileges to install odbc_install.exe.

Unable to set up ODBC after installing ODAC (Xcopy)

We are trying to use ODAC Xcopy to minimize the footprint of installing Oracle 11g Client. Currently, we use the Oracle 11g Admin install (~700mb). I've tried using the ODAC Xcopy, and that works. However, the only issue I now have is that I cannot set up an ODBC on the target system by just installing the ODAC Xcopy. After installing ODAC (Windows XP fyi), I go to Control Panel-->Admin Tools-->Data Sources (ODBC)-->System DSN-->Add-->Microsoft ODBC for Oracle. I get the following error: "The Oracle(tm) client and networking components were not found. These components are supplied by Oracle 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." I've tried editing the registry and creating the same keys that the Oracle Admin install creates, but still no luck. I'm not sure how to get past this. Any suggestions? Thanks in advance.
Shouldn't you be using the Oracle Driver instead of the Microsoft ODBC driver? Microsoft's driver will require the SQLNet drivers which come with your full client install. There should be an additional ODBC driver available after installing the Oracle ODAC. Go to the Drivers tab of the ODBC Adminstrator and you should see something along the lines of "Oracle in OraClient11g_home1" with a version of 11.something. That's the driver you should make your DSN from. I've only used the 10g ODBC install (which could be minimally installed with a selection of "Instant Client").
HTH
I would advise you stick to the full installer, which takes care of all the configuration tasks (registry, DLL registrations, etc..), but do a custom install using a response file.
Get the correct version of Oracle client installer (not the ODAC) from here:
32-bit:
https://download.oracle.com/otn/nt/oracle11g/112010/win32_11gR2_client.zip
64-bit:
https://download.oracle.com/otn/nt/oracle11g/112010/win64_11gR2_client.zip
the Oracle client bitness has to match your executable's.
Do an silent install using this reponse file (edit as needed and save as client_install.rsp in the same directory as setup.exe)
Response file
setup.exe" ORACLE_HOME_NAME=OracleClient11201 -waitforcompletion -nowait -silent -responseFile client_install.rsp
The key config entry is this:
oracle.install.client.customComponents="oracle.rdbms.oci:11.2.0.1.0","oracle.network.client:11.2.0.1.0","oracle.odbc:11.2.0.1.0"

ODBC x64 oracle problem

I have a workstation with Windows 2008 x64, MS Access 2007 and Oracle 11g x64
I use Access to connect to Oracle via ODBC.
I am the administrator (in the administrator group) on the workstation. I run Access as administrator but when I want to make an ODBC call to Oracle it does not work.
How do I do it:
I start MS Access and creates a direct query. In the properties dialog I go to add new and the Select datasource dialog appears. I then use machine datasource and click New, System datasource - but the driver for Oracle is not there.
Regards Robert :-)
Solved! Create a Virtual PC (Hyper-V) and install the 32 bit version of OS and client - it works!
If you want to use the Oracle supplied ODBC driver, you need to install the oracle client. The default client install does not include the driver, so you either need to add it when you do the install or re-run the universal installer to add it later.
To get the Oracle ODBC driver for 10g (don't know about 11):
run the client install. You will be given 4 options for installation type: InstantClient, Administrator, Runtime, and Custom.
select "InstantClient" (it's not in the Runtime install)
You must install this in a new oracle home.
Once the installation is complete, you should see the Oracle driver in your ODBC control.
I can se the Oracle driver in the standard ODBC administration but when I start this from within MSAccess the driver does noe appear. This means that the x64 driver is not present. if I look in the registry the Oracle driver is noe existing under the HKLM\Software\Wow6432Node\ODBC\ODBCINST.INI key like the ones for SQLServer

Resources