Page 1 of 1

ORA-12545 Connect failed because target host or object does

Posted: Tue 04 Nov 2008 18:03
by tbassett
In trying to setup a new connection in the Database Explorer, I get the following error message, only when clicking the Direct checkbox.

ORA-12545 Connect failed because target host or object does not exist.

If I uncheck the checkbox, it works fine. The SID is filled in with the same SID from my tnsnames file.

Posted: Wed 05 Nov 2008 11:36
by AndreyR
Please note that in the server parameter in Direct mode should be filled with the name of machine where Oracle server is installed or its IP address.

Posted: Tue 13 Jan 2009 21:51
by ehaas
I was unable to get the OracleConnection to work with a server name. However, when I used the IP address of the server, it worked fine. Probably something with DNS but I did not investigate further.