我今天碰到asp.net无法加载oci.dll的错误

提示错误:oci.dll was loaded,but the DLLRegisterServer entry point was not found.

然后试了试CODEGO.NET上的这个方法:把oraclient8.dll,orasql9.dll,oci.dll拷贝到System32解决问题。

代码是这样的:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\MTxOCI]

"OracleXaLib"="oraclient8.dll"

"OracleSqlLib"="orasql8.dll"

"OracleOciLib"="oci.dll"

亲测有效.留存备用.