Use Oracle.ManagedDataAccess.Client as provider instead of deprecated System.Data.OracleClient. Connection string should be Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=servicename)));User Id=userid;Password=password;. No Windows Credential Manager setup is needed if credentials are included in the connection string.
I followed the provided instruction to configure database credentials in UiPath.
Earlier we were on Oracle 10g, and now the DB has been upgraded to Oracle 19c.
I used the same hostname, port, and service name as before.
Connection string used:
This error usually happens because System.Data.OracleClient is deprecated and not compatible with Oracle 19c. Switch the provider in Database Connect activity to Oracle.ManagedDataAccess.Client and ensure the Oracle Managed Data Access DLL is installed. Update your connection string accordingly and retry the connection.