I have checked and when I supply the correct hostname I get ORA-12514, when I set localhost as hostname I get ORA-12541. This is for OracleConnection + instantclient. When using zeosconnection and instantclient I can use the correct hostname or localhost as hostname and connect OK. Strange that you guys get different results.