Skip Headers
Oracle® Data Provider for .NET Developer's Guide
11g Release 1 (11.1)

Part Number B28375-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

File Locations After Installation

The Oracle.DataAccess.dll assembly is installed as follows:

Documentation and the readme.txt file are installed in the ORACLE_BASE\ORACLE_HOME\ODP.NET\doc directory.

Samples are provided in the ORACLE_BASE\ORACLE_HOME\ODP.NET\Samples directory.

Windows Registry

Upon installation, ODP.NET creates entries for configuration and tracing within the Windows Registry. Configuration and tracing registry values apply across all ODP.NET applications running in that Oracle client installation. Individual ODP.NET applications can override some of these values by configuring them within the ODP.NET application itself (for example, FetchSize). The ODP.NET registry values are located under: HKLM\Software\Oracle\ODP.NET\version\.

There is one key for .NET Framework 1.x and one key for .NET Framework 2.0 and higher.

Search Order for Unmanaged DLLs

The DllPath registry value is used to indicate the directory that contains dependent unmanaged DLLs.

The Oracle.DataAccess.dll searches for dependent unmanaged DLLs (such as Oracle Client) in the following order:

  1. Directory of the application/executable.

  2. Directory specified by:

    HKEY_LOCAL_ MACHINE\Software\Oracle\ODP.NET\version\DllPath

  3. Directories specified by the PATH environment variable.

Upon installation of ODP.NET, the DllPath registry value of type REG_SZ is set to the ORACLE_BASE\ORACLE_HOME\bin directory where the corresponding dependent DLLs are installed.

ODP.NET and Dependent Unmanaged DLL Mismatch

To enforce the usage of Oracle.DataAccess.dll assembly with the correct version of its unmanaged DLLs, an exception is raised if Oracle.DataAccess.dll notices it has loaded a mismatched version of a dependent unmanaged DLL.