Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

TNS-12545: Connect Failed Because Target Host or Object Does Not Exist

1007777May 8 2013 — edited May 8 2013
hello, 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
This post has been answered by jeneesh on May 8 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 5 2013
Added on May 8 2013
11 comments
3,849 views