". Net" DbProviderFactories could not find the requested. NET Framework data provider. Problems that may not be installed "__.net

Source: Internet
Author: User
Tags microsoft sql server odbc

An error has been detected while running a history project today, DbProviderFactories cannot find the requested. Net Framework data Provider. may not be installed "issue. _providername is "Oracle.DataAccess.Client"
Solution: 1: Install ODAC client. 2: Modify the driver System.Data.OracleClient
If you still have an error copying C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\ DbProviderFactories node information in machine.config to
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\ Machine.config in the DbProviderFactories node. The node information is as follows.

<DbProviderFactories> <add name= "Oracle Data Provider for. NET" invariant= "Oracle.DataAccess.Client" Descri ption= Oracle Data Provider for. NET "Type=" Oracle.DataAccess.Client.OracleClientFactory, Oracle.dataaccess, version= 4.112.3.0, culture=neutral, publickeytoken=89b483f429c47342 "/> <add name=" Microsoft SQL Server Compact Data P Rovider 4.0 "invariant=" system.data.sqlserverce.4.0 "description=". NET Framework Data Provider for Microsoft SQL Server C Ompact "Type=" System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, version=4.0.0.0, culture= Neutral, publickeytoken=89845dcd8080cc91 "/> <add name=" Odbc Data Provider invariant= "System.Data.Odbc" descr Iption= ". Net Framework Data Provider for Odbc" type= "System.Data.Odbc.OdbcFactory, System.Data, version=2.0.0.0, Culture=neutral, publickeytoken=b77a5c561934e089 "/> <add name=" OLE DB Data Provider "invariant=" System.Data.Ol EDb "description=". Net Framework Data Provider forOLE DB "Type=" System.Data.OleDb.OleDbFactory, System.Data, version=2.0.0.0, Culture=neutral, publickeytoken= b77a5c561934e089 "/> <add name=" OracleClient Data Provider "invariant=" System.Data.OracleClient "description=" The. Net Framework Data Provider for Oracle "type=" System.Data.OracleClient.OracleClientFactory, System.Data.OracleClient , version=2.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089 "/> <add name=" SqlClient Data Provider "in Variant= "System.Data.SqlClient" description= ". Net Framework Data Provider for SQL Server" Type= " System.Data.SqlClient.SqlClientFactory, System.Data, version=2.0.0.0, Culture=neutral, publickeytoken= b77a5c561934e089 "/> <add name=" MySQL Data Provider "invariant=" MySql.Data.MySqlClient "description=". Net Fram Ework Data Provider for MySQL "type=" MySql.Data.MySqlClient.MySqlClientFactory, Mysql.data, version=6.0.0.0, culture= Neutral, publickeytoken=c5687fc88969c44d "/> </DbProviderFactories>

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.