Register the Oracle.DataAccess.dll assembly
You must register the Oracle.DataAccess.dll assembly to the Global Assembly Cache (GAC) for .NET version 2 and version 4:
- Open a command prompt as an Administrator.
- Navigate to %ORACLE_CLIENT_HOME%\ODP.NET\bin\2.x.
- Execute the following command:
oraprovcfg.exe/action:gac/providerpath:Oracle.DataAccess.dll
- Navigate to %ORACLE_CLIENT_HOME%\ODP.NET\bin\4.x.
- Execute the following command:
oraprovcfg.exe/action:gac/providerpath:Oracle.DataAccess.dll