ORA-12154: TNS:could not resolve the connect identifier specified In the environment variables, I added the following: FORMS_BUILDER_CLASSPATH C:\ORACLE_FORMS_12C_HOME\bin\frmbld.exe; C:\ORACLE_FORMS_12C_HOME\forms\java\frmall.jar FORMS_PATH C:\ORACLE_FORMS_12C_HOME\forms\java\frmall.jar; C:\ORACLE_FORMS_12C_HOME\forms\java\FRMWEBUTIL.JAR TNSNAMES.ORA FILE # tnsnames.ora Network Configuration File: C:\ORACLE_12C_DATABASE\product\12.1.0\dbhome_1\network\admin\tnsnames.ora # Generated by Oracle configuration tools. LISTENER_ORCL = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) ORCL = (DESCRIPTION = # (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = Window10PRO)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl) ) ) ORACLR_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) ) (CONNECT_DATA = (SID = CLRExtProc) (PRESENTATION = RO) ) ) ******************************************************************************************** SQLNET.ORA FILE # sqlnet.ora Network Configuration File: C:\ORACLE_12C_DATABASE\product\12.1.0\dbhome_1\network\admin\sqlnet.ora # Generated by Oracle configuration tools. # This file is actually generated by netca. But if customers choose to # install "Software Only", this file wont exist and without the native # authentication, they will not be able to connect to the database on NT. SQLNET.AUTHENTICATION_SERVICES= (NTS) NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT) ******************************************************************************************** LISTENER.ORA FILE # listener.ora Network Configuration File: C:\ORACLE_12C_DATABASE\product\12.1.0\dbhome_1\network\admin\listener.ora # Generated by Oracle configuration tools. SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = CLRExtProc) (ORACLE_HOME = C:\ORACLE_12C_DATABASE\product\12.1.0\dbhome_1) (PROGRAM = extproc) (ENVS = "EXTPROC_DLLS=ONLY:C:\ORACLE_12C_DATABASE\product\12.1.0\dbhome_1\bin\oraclr12.dll") ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) ) ) ******************************************************************************************** LISTENER RESULTS C:\WINDOWS\system32>LSNRCTL STATUS LSNRCTL for 64-bit Windows: Version 12.1.0.2.0 - Production on 09-MAR-2019 11:42:09 Copyright (c) 1991, 2014, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for 64-bit Windows: Version 12.1.0.2.0 - Production Start Date 08-MAR-2019 17:04:16 Uptime 0 days 18 hr. 38 min. 8 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File C:\ORACLE_12C_DATABASE\product\12.1.0\dbhome_1\network\admin\listener.ora Listener Log File C:\ORACLE_12C_DATABASE\diag\tnslsnr\Window10PRO\listener\alert\log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=Window10PRO)(PORT=5500))(Security=(my_wallet_directory=C:\ORACLE_12C_DATABASE\admin\orcl\xdb_wallet))(Presentation=HTTP)(Session=RAW)) Services Summary... Service "CLRExtProc" has 1 instance(s). Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service... Service "orcl" has 1 instance(s). Instance "orcl", status READY, has 1 handler(s) for this service... Service "orclXDB" has 1 instance(s). Instance "orcl", status READY, has 1 handler(s) for this service... Service "pdborcl" has 1 instance(s). Instance "orcl", status READY, has 1 handler(s) for this service... The command completed successfully C:\WINDOWS\system32>