On attempting command line connection with parameters toad.exe -c username/password@ip: port@servicename - toad always looks for tnsnames.ora and gives an error if it cannot find the details in tnsnames file, whereas if the same details are entered directly on the GUI, it is able to connect to the database. Tried deleting tnsnames.ora from tns_admin path but it still looks for tns entry and the connection error still persists
Please suggest how to resolve this.
@JohnDorlon - the same connection string when tried on SQL Plus, it works fine.. is there any setting on Toad due to which it looks for the entry in tnsnames.ora ?
I commented all entries to this database out of my tnsnames.ora. Also tried it without any tnsnames.ora at all. Also removed prior connections from login window.