Install this patch only if the installed Oracle Client version is 188.8.131.52. If you have Oracle Client 184.108.40.206, skip this section.
Please, read carefully all the instructions in the readme file of the patch 24591642 before installing the patch.
Before installing the patch, make sure to stop all Oracle services and Distributed Transaction Coordinator. Go to Start > Run > Services.msc.
Extract the p24591642_121020_MSWIN-x86-64.zip file into a directory on your computer. Afterwards, you can find the 24591642 folder in that directory.
Open a command prompt window as Administrator, and navigate to the directory %ORACLE_HOME%\OPatch\ where the OPatch utility is available. For example:
Run the following command to apply the patch by specifying the location of the extracted patch folder as shown below:
opatch apply C:\Users\Admin\Desktop\OraclePatch\24591642
Make sure to specify the path up to the exact Patch folder 24591642.
In the process of applying patch, user interaction is required for the patching process to proceed. So, respond with Y when prompted for patching and allow the process to complete.
After the patch is successfully applied, the log file location is displayed.
By default, Oracle does not add its patched .NET assemblies to the Global Assembly Cache (GAC). You must explicitly GAC the required assemblies as described below:
Open a command prompt window as Administrator.
Navigate to the following directory:
Execute the following command to GAC the assembly by specifying its path as shown:
OraProvCfg /action:gac /providerpath:"..\common\Oracle.ManagedDataAccess.dll"
Similarly, GAC the Oracle.DataAccess.dll assembly using below command:
C:\app\client\Admin\product\12.1.0\client_1\odp.net\managed\x64>OraProvCfg /action:gac /providerpath:"..\..\bin\4\Oracle.DataAccess.dll"
Finally, GAC the Oracle.Web.dll assembly using this command:
C:\app\client\Admin\product\12.1.0\client_1\odp.net\managed\x64>OraProvCfg /action:gac /providerpath:"..\..\..\ASP.NET\bin\4\Oracle.Web.dll"