From your computer, navigate to the set-up folder, and then double-click the setup file.
-
In Select Installation Type, select Administrator, and then click Next.
-
In Oracle Home User Selection, select Use Windows Built-In Account, and click Next.
-
To continue, click Next.
To change the Oracle base or Software location, click Browse, select directory, and then click Next.
-
In Summary, click Install.
Place the Tnsnames.ora file in the <OrcaleHome>/Network/Admin.
Register Oracle.DataAccess.dll and Oracle.DataAccess.EntityFramework.dll
Once the Oracle client is installed, you must manually register the Oracle.DataAccess.dll
and Oracle.DataAccess.EntityFramework.dll to Global Assembly Cache (GAC).
-
Open a command prompt window as an administrator.
-
Type the command to navigate to Oracle installation folder>ODP.NET folder:
cd <Oracle installation drive>\<Oracle installation folder>\product\19.x.x\client_1\ODP.NET\bin\4
For example:
cd D:\Oracle19\product\19.x.x\client_1\ODP.NET\bin\4
-
To register Oracle.DataAccess.dll, type the following command:
oraprovcfg /action:gac /providerpath:<Oracle Installation Drive>\<Oracle installation folder>\product\19.x.x\client_1\ODP.NET\bin\4\Oracle.DataAccess.dll
For example:
oraprovcfg /action:gac /providerpath:D:Oracle19\product\19.x.x\client_1\ODP.NET\bin\4\Oracle.DataAccess.dll
-
To register Oracle.DataAccess.EntityFramework.dll, type the following command:
oraprovcfg /action:gac /providerpath:<Oracle Installation Drive>\<Oracle installation folder>\product\19.x.x\client_1\ODP.NET\bin\4\EF6\Oracle.DataAccess.EntityFramework.dll
For example:
oraprovcfg /action:gac /providerpath:D:Oracle19\product\19.x.x\client_1\ODP.NET\bin\4\EF6\
Oracle.DataAccess.EntityFramework.dll