After you install Oracle client, you must manually register Oracle.DataAccess.dll and Oracle.DataAccess.EntityFramework.dll to Global Assembly Cache (GAC).
-
Click Start > All Programs > Accessories.
-
Enter the command cmd in Windows search.
-
Right-click Command Prompt, and then click Run as administrator.
-
Type the command to access the ODP.NET folder which is in the Oracle installation location.
Example: >CD <Oracle Installation Drive>\<Oracle installation folder>\product\19.0.0\client_1\ODP.NET\bin\4
-
Type the command, oraprovcfg /action:gac /providerpath:<Oracle Installation Drive>\<Oracle installation folder>\product\19.0.0\client_1\ODP.NET\bin\4\Oracle.DataAccess.dll.
Repeat the same for Oracle.DataAccess.EntityFramework.dll
-
Type the command, oraprovcfg /action:gac /providerpath:<Oracle Installation Drive>\<Oracle installation folder>\product\19.0.0\client_1\ODP.NET\bin\4\EF6\Oracle.DataAccess.EntityFramework.dll