There is a problem with creating a connection to Oracle. The variable is created:
private OracleConnection conn; Then connects:
conn = new OracleConnection(connection_string); System.TypeInitializationException: 'An initializer of the type "Oracle.DataAccess.Client.OracleConnection" threw an exception.'
Connection is made using the library using Oracle.DataAccess.Client; I have never worked with it, I usually use using System.Data.OracleClient What is wrong with me, please tell me? connectionstring is valid.
The provider is not compatible with the version of Oracle client.- Andrei