Here are the details:
- I installed the oracle instant client 11.2.0.2.0 from the OTN download page on a windows 7 64 bit vm (vmware).
- I am trying to to connect to a remote oracle database, and I can successfully connect with one program using TNS, but not with SQL*Plus and other applications.
- Trying to connect with SQL*Plus, using schema@servicename, password, etc, gives the above error.
- To connect via SQL Developer, normally I would use the basic connection info and not rely on tnsnames, but trying a normal connection gives me:
io error: unknown host specified
. SQL Developer can successfully connect and query database if i use the TNS protocol. - Trying from other programs gives me the same error I got with SQL*Plus. Same when trying with the service name from tnsnames.
This is obviously quite frustrating for it to work one way and not the other. I followed all the normal instructions for using the instant client, the directory with instantclient has been addded to the PATH, a TNS_ADMIN entry has also been created, with the directory to the tnsnames.ora file