ASP.net cannot load oci. dll to solve the new law
Recently, when a program is running, the following error occurs: Unable to load oci. dll. after a long time of searching on the Internet, the problem has finally been solved. I will share the method with you below.
Check that the teachers migrated an ASP.net and ORACLE program on a new virtual machine, and the oci. dll cannot be loaded. Use regsvr32 to register the program. The following message is displayed:
The Code is as follows:
Oci. dll was loaded, but the DLLRegisterServer entry point was not found.
After studying for a long time, what directory permissions and registries have not worked.
In the end, copy oraclient8.dll, orasql9.dll, and oci. dll to System32 to solve the problem.
The Code is as follows:
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ MSDTC \ MTxOCI]
"OracleXaLib" = "oraclient8.dll"
"OracleSqlLib" = "orasql8.dll"
"OracleOciLib" = "oci. dll"
The above is all the content of this article. I hope you will like it.
Please take a moment to share your article with your friends or leave a comment. Thank you for your support!