16.3.5 ORA-12261
Indicates that the specified connection alias cannot be resolved due to errors in the Easy Connect syntax.
Message
ORA-12261: Cannot connect to database.
Syntax error in Easy Connect connection string string.For example:
ORA-12261: Cannot connect to database.
Syntax error in Easy Connect connection string sales1.example.com:1522/sales.Cause
A connection to the database or other service is requested using an incorrect Easy Connect connection string.
Action
-
Check for mistakes in the specified connection string.
-
Ensure that the specified host, port, and service name values are correct.
-
Try enclosing the connect identifier in quotation marks.