I could download only ODBC before,but I had found the oracle website changed and only found ODAC and it contaions ODBC Driver,it have to download another softwares,like oracle sql*plus,developer tools for visual studio etc.
the link : https://www.oracle.com/database/technologies/dotnet-odacdeploy-downloads.html
The installation instructions are at https://www.oracle.com/database/technologies/releasenote-odbc-ic.html
In summary, use Oracle Instant Client. Install either the "Basic" or "Basic Light" package, and then the "ODBC" package.
You can download ODBC Driver https://www.devart.com/odbc/oracle/
This is a pretty good connectivity solution
Related
I am trying to install Oracle Developer Tools for Visual Studio 2015 so that I can connect to a remote 11g database from SSRS/Visual Studio Projects in general, from my dev machine. When I go to the downloads page, I see this:
So I went to Visual Studio to determine whether I already had ODT, and found this:
However, I don't think I installed this ODP, and it just came with the Visual Studio installation. Is there a way to uninstall this provider, or am I OK to just install the new ODT over top? Lastly, as I did more research for this post I became a little more unsure: does ODAC include ODP.net?
Thanks.
Microsoft OLE DB Provider for Oracle and .NET Framework Data Provider for Oracle are providers from Microsoft, i.e. they are part of your Windows installation.
Indeed, they are deprecated from many years, however there is no reason to remove them. They are just two little DLL's.
It is no problem to install Oracle Provider for OLE DB and Oracle Data Provider for .NET (ODP.NET) from Oracle, the drivers from Oracle and the drivers from Microsoft do not interfere with each other.
Yes, ODAC (Oracle Data Access Components) is a collection of various drivers, ODP.NET, OLE DB, ODBC and a few more.
Just a note, unless you use the ODP.NET Managed Driver all drivers mentioned above require an Oracle Client installation, typically an Oracle Instant Client. I think the Oracle Instant Client is also included in the ODAC package.
Maybe have a look at this post to get a little overview: How to connect to Oracle 11 database from . net
I am using an Excel VBA application to connect to an Oracle 12c database.
Excel is 2010, 32 bit, in Windows 7.
Many have advised Oracle Instant Client, but this has not worked for me. The installation requires a number of configuration steps that I cannot perform due to administrative restrictions on my workstation.
However, I have installed the ODAC 12.2c Release 1 and Oracle Developer Tools for Visual Studio (12.2.0.1.0), available HERE. This package includes the Oracle ODBC driver which works for my application. However, it contains several other components that I do not need, and throws some errors during installation that are disconcerting.
Can anyone tell me which of the following components I actually need to select in order to get the ODBC Driver?
Since I cannot get InstantClient to work with my companies restrictions, I'm now aiming to use this package, but hopefully to slim it down to just the component I need. I'm doing trial and error, but it's messy. The installation takes a long time and there's no uninstaller, so I have to manually delete the files after installation.
Thanks for any help you can provide!
The smallest solution is to download the
Instant Client Package - ODBC: Additional libraries for enabling ODBC applications (instantclient-odbc-nt-12.2.0.1.0-2.zip)
from Instant Client Downloads for Microsoft Windows 32-bit
You can also download the ODAC with Oracle Developer Tools for Visual Studio from ODAC Developer Downloads - Oracle Universal Installer
Get the full 32-bit Oracle client installer (not the ODAC) from here:
http://download.oracle.com/otn/nt/oracle12c/122010/win32_12201_client.zip
Do an silent install using this reponse file (edit as needed and save as client_install_32.rsp in the same directory as setup.exe)
Response file
setup.exe" ORACLE_HOME_NAME=OracleClient12201x32 -waitforcompletion -nowait -silent -responseFile client_install_32.rsp
The key config entry is this:
oracle.install.client.customComponents="oracle.rdbms.oci:12.2.0.1.0","oracle.network.client:12.2.0.1.0","oracle.odbc:12.2.0.1.0"
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
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.
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"