Skip Headers
Oracle® Data Provider for .NET Developer's Guide
12c Release 1 (12.1.0.1.0)

Part Number E41125-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

Installing Oracle Data Provider for .NET, Managed Driver

Getting started with ODP.NET, Managed Driver

You can get started with ODP.NET Managed Driver by either using the Oracle Universal Installer (OUI) or XCopy.

If you are using OUI: Follow the Oracle Universal Installer (OUI) steps to install ODP.NET, Managed Driver

If you are using XCopy: Download ODP.NET, Managed Driver .zip file to a directory for staging the install. The .zip file contains a README file with XCopy installation instructions.

Run the configure.bat script in one of the following directories:

Each directory contains an unconfigure.bat if ODP.NET, Managed Driver needs to be unconfigured and removed from the machine.

ODP.NET, Managed Driver Files

ODP.NET, Managed Driver consists of the following files:

File Description
Oracle.ManagedDataAccess.dll Platform-independent (AnyCPU), fully-managed ADO.NET provider
\x64\Oracle.ManagedDataAccessDTC.dll Platform-dependent (x64 only), Managed Assembly for Distributed Transaction support.
\x86\Oracle.ManagedDataAccessDTC.dll Platform-dependent (x86 only), Managed Assembly for Distributed Transaction support.
\Resources\<lang>\Oracle.ManagedDataAccess.resources.dll Platform-independent (AnyCPU), fully-managed ADO.NET provider resource DLLs.
OraProvCfg.exe Platform-independent (AnyCPU) utility to configure/unconfigure ODP.NET, Managed and Unmanaged Drivers.
configure.bat Batch file to place ODP.NET, Managed Driver into the GAC and add configuration entries into the machine.config.
unconfigure.bat Batch file to remove ODP.NET, Managed Driver from the GAC and remove configuration entries from machine.config.
tnsnames.ora A sample configuration file that defines data source aliases.
sqlnet.ora A sample configuration file that configures network related settings.
ConfigSchema.xsd An XML schema file that defines the configuration section for ODP.NET, Managed Driver.

See Also:

Oracle Database Installation Guide for Microsoft Windows for installation instructions

File Locations After Installation

The Oracle.ManagedDataAccess.dll assembly is installed to the following locations:

.NET Framework 4:

ORACLE_BASE\ORACLE_HOME\odp.net\bin\4 directory

Note:

If the machine has the corresponding .NET Framework installed, then the Oracle.ManagedDataAccess.dll assembly is added to the Global Assembly Cache (GAC) as well. This is to ensure that existing applications can start using the newly installed ODP.NET version immediately. However, if this is not desired, be sure to remove the policy DLLs from the GAC.

Documentation and the readme.txt file can be accessed through ORACLE_BASE\ORACLE_HOME\ODACDoc\DocumentationLibrary\doc\index.htm.

Samples are provided in the ORACLE_BASE\ORACLE_HOME\ODACsamples directory.