我刚刚安装了oracle19c并试图锁定HR用户,但是当我想连接到sqlplus时,我得到了这个错误ORA-12154: TNS:could not resolve the connect identifierEnter user-name: sys as sysdbaERROR:
ORA-12154: TNS:could not resolve the connect identifier
使用ODP .NET试图连接ORA-12154错误使用ODP .NET试图连接ORA-12154错误 OracleConnection oracleConnection = new OracleConnection();
stringhas been thrown by the target of an invocation. ---> Oracle.ManagedDataAccess.Client.OracleException: ORATNS:could not r
由于某些原因,这两种错误的ORA-12154都失败了,但只是在设计时。如果我保留配置好的连接并在runtime上激活它们,它就能正常工作。例如,我可以从数据库中检索数据。[FireDAC][Phys][Ora] ORA-12154: TNS:no se ha podido resolver el identificador de conexión especificado