← Tutti gli articoli
The following information can be helpful to determine why the assembly 'Oracle.DataAccess, Version=4.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342' could not be loaded
20 April 2011 ·
Troubleshooting · Article ·
832 visite
The assembly Oracle.DataAccess has not been registered in the GAC for framework 4 assemblies
- Check the presence in the assembly folder (C:\Windows\Microsoft.NET\assembly\GAC_32)
- Install the assembly in the GAC with the OraPrvCfg.exe (%ORACLE_HOME%\ODP.NET\bin\4
) - Execute the command:
oraprovcfg /action:gac /providerpath:C:\app\giovanni.maragna\product\11.2.0\client_2\odp.net\bin\4\Oracle.DataAccess.dll
If you have an Oracle x64 version installed, you have to install the ODAC x86 and enable 32bit application for the Application Pool of your web application.