Run the following commands in the Administrative Command Prompt:
cd C:\Oracle\app\product\11.2.0\client_1\ODP.NET\bin\4\
OraProvCfg.exe /action:gac /providerpath:C:\Oracle\app\product\11.2.0\client_1\ODP.NET\bin\4\Oracle.DataAccess.dll
cd C:\Oracle\app\product\11.2.0\client_1\ASP.NET\bin\4\
OraProvCfg.exe /action:gac /providerpath:C:\Oracle\app\product\11.2.0\client_1\ASP.NET\bin\4\Oracle.Web.dll
NET Framework 2.0:
ORACLE_BASE
\
ORACLE_HOME
\
odp.net\bin\2.x
directory
.NET Framework 4:
ORACLE_BASE
\
ORACLE_HOME
\
odp.net\bin\4
directory
DllPath
setting specified by the Windows Registry.
HKEY_LOCAL_MACHINE\Software\Oracle\
ODP.NET\
version
\DllPath
gacutil.exe -i E:\ODP.NET\bin\2.x\Oracle.DataAccess.dll
沒有留言:
張貼留言