ORA-12545 Connect failed because target host or object does

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
tbassett
Posts: 5
Joined: Tue 04 Nov 2008 17:56

ORA-12545 Connect failed because target host or object does

Post by tbassett » Tue 04 Nov 2008 18:03

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.

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Wed 05 Nov 2008 11:36

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.

ehaas
Posts: 2
Joined: Tue 13 Jan 2009 21:48

Post by ehaas » Tue 13 Jan 2009 21:51

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.

Post Reply