TNS-12545: Connect Failed Because Target Host or Object Does Not Exist
1007777May 8 2013 — edited May 8 2013hello, i am learning SQL and new to Oracle 11g platform, i want to create a connection to database as a sysdba role, whenever i try to connect, this error comes
Status :Failure-Test failed :IO ERROR : The Network Adapter could not establish the connection
my tnsnames.ora text is as follows
# tnsnames.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = saqib.mshome.net)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
---------------------------------------------------------
i have also tried by writing "saqib.mshome.net" in my connection HOSTNAME dialog box but error is still there. kindly help me out