We use the 'Oracle.ManagedDataAccess' ODP.NET driver for database access to Oracle.
When connecting to the database with the connection string:
Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(Host=10.40.40.38)(Port=1521)))(CONNECT_DATA=(SERVICE_NAME=D3T))); User Id=test; Password=test'
Internal error message:
OracleInternal.NotificationServices.ONSException**: ONS: No node lists have been configured' after opening the connection.
code:
string connect = "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(Host=10.40.40.38)(Port=1521)))(CONNECT_DATA=(SERVICE_NAME=D3T))); User Id=test; Password=test";
OracleConnection connection = new OracleConnection(connect);
connection.Open();
The connection to the database is working fine. But what is internally wrong with the configuration?