ASP.net cannot load oci. dll to solve the new law

Source: Internet
Author: User

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!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.