Skip to main content
Kofax

"Can't load ODP.NET Provider" when trying to connect to KAFC_ADMIN Oracle database in Insight Installation Manager"

Article # 3040464 - Page views: 14

Issue

How can I fix the error:

"Can't load ODP.NET Provider"

when trying to connect to KAFC_ADMIN Oracle database in Insight Installation Manager?

 

Cause

Driver hasn’t been properly installed, for example a .dll file was not registered during the installation.

 

Solution

  1. An uninstall of all Oracle ODAC components:
    1. Run the installation wizard again
    2. Click on “Deinstall Product…”
    3. Select the Oracle home to remove, take note of the folder’s location, you’ll need it later
    4. can be ODAC64 or ODAC32, and click on “Remove”
    5. When prompted if you wish to delete the folders, choose the option to delete.
    6. The close and cancel the installation
    7. Repeat this for the 32 bits if you started with 64 bits, or otherwise.
  2. Once you have done this, access the folders in which this was installed, and delete the folders manually
  3. Next, open the folder “C:\Windows\Microsoft.NET\assembly\GAC_32” and delete the following subfolders:
    1. Oracle.DataAccess
    2. Oracle.ManagedDataAccessDTC
    3. Oracle.Web
    4. Policy.4.112.Oracle.DataAccess
    5. Policy.4.112.Oracle.Web
  4. Repeat this for the folder “C:\Windows\Microsoft.NET\assembly\GAC_34” (same subfolders to delete)
  5. Open the folder “C:\Windows\Microsoft.NET\assembly\GAC_MSIL”, and delete the folder “Oracle.ManagedDataAccess”
  6. Now open the registry editor and delete the following keys, sub-keys and values
    1. HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE
    2. HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE
  7. Restart the server
  8. And proceed with the installation of ODAC 32 and ODAC 64 as per described previously. Make sure to make them point to different software location, The “Home Base” can be the same.
  9. Reboot the server after the installation of each ODAC driver

 

Level of Complexity 

Moderate

 

Applies to  

Product Version Build Environment Hardware
KAFC 1.x      

 

 

Article # 3040464