Error Windows 64 conecting to oracleDatabase

I’m creating an app to connect to oracle in windows x64.

I have created the connection

ddbb.DatabaseName = “(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=XXX.XXX.XXX.XXX)(PORT=1521))(CONNECT_DATA=(SERVER=dedicated)(SERVICE_NAME=XXXXXX)))”

I’m receiving the message Some Oracle symbols are not found. Look in the console for more information.

But the connection string is correct.

Can someone help me?

I have instantclient x64 in the oracle folder, created TNSNAMES ans det paths

System.EnvironmentVariable(“ORACLE_HOME”) = “C:\Oracle\instantclient_21_7”
System.EnvironmentVariable(“TNS_ADMIN”)=“C:\Oracle\instantclient_21_7\network\admin”

Check your system PATH environment variable to make sure we can find OCI.DLL