I try to connect my app to an Oracle database with Oracle.DataAccess.dll but i have a message => "The provider is not compatible with the version of Oracle client".
try
{
var str = new OracleConnectionStringBuilder()
{
DataSource = "MyDatabase",
UserID = "system",
Password = "manager",
Pooling = false,
};
}
catch (Exception ex)
{
//The provider is not compatible with the version of Oracle client
}
Firstly, i can connect with Oracle.ManagedDataAccess.dll but i need to use BulkCopy so i need to use Oracle.DataAccess.dll with Oracle Client.
I have install Oracle client 12.2 and i can connect to Oracle Database 10g Express Edition Release 10.2 with SQLPlus
I do not understand where this error came from. Could you help me ?
Thanks for yous answers