& Quot; the "OraOLEDB. Oracle.1" provider & quot; is not registered on the local computer,

Source: Internet
Author: User

"Two solutions to the" OraOLEDB. Oracle.1 "provider" issue are not registered on the local computer,
Problem:

In the C # program, you must use Provider = OraOLEDB. Oracle.1 to access the ORACLE database. However, an exception was reported during program execution: the "OraOLEDB. Oracle.1" provider was not registered on the local computer ......

Solution 1

Register ORAOLEDB. dll again. Open the doscommand window as an administrator and enter:

Regsvr32 "F: \ oracle \ app \ product \ 11.2.0 \ dbhome_1 \ BIN \ OraOledb11.dll"
Solution 2

1. Download ODAC112030Xcopy_32bit (select the corresponding version based on your own situation)

32-bit Oracle Data Access Components (ODAC)

2. Unzip the package and install it:

Install all F: \ oracle \ app \ product \ 11.2.0 \ Client_2 odac

3. Add the system environment variable path:

F: \ oracle \ app \ product \ 11.2.0 \ Client_2; F: \ oracle \ app \ product \ 11.2.0 \ Client_2 \ bin;

* Extension: how to install and uninstall the Oracle Data Access Component ODAC

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.