Oracle 11g SqlDeveloper connects to remote database but SqlPlus cannot - oracle

As the title suggests, I am trying to connect to a remote database via VPN. When I connect using SQL Developer, the connection is fine. However when I try to connect using SQLPlus I get the below error
ERROR:
ORA-12638: Credential retrieval failed
Enter user-name:
I am using the exact same credentials for both (cannot copy the details here as they are a clients and confidential).
Any thoughts as to why SQL Developer acts differently to SQLPlus?
Thanks in advance
K.

Related

TNS: Listener does not currently know of service requested in connect descriptor

I am able to connect to database using sqlplus /nolog but SQL Developer throws the below error when I connect to it
here are my configuration in tnsnames.ora
and listener.ora
SQL /nolog does not connect to database.
If you are able to connect using conn then need to see parameter passed while connecting database in SQL developer
Which connection type are you using while connecting using SQL developer?
Are you having multiple oracle homes on the server if yes then check which home you are pointing to.

Oracle SQL Developer fails to connect to Oracle Database while SQL*Plus works

I'm trying to connect to a Oracle database on a development server with my local Oracle SQL developer (17.4.1.054).
When I try to connect I get the following error: ORA-0107: invalid username/password; logon denied
Using the very same credentials on the sqlplus (after connection via ssh to the server) works perfectly fine.
The credentials are like: ORA/ora.
After thinking about it, I've other connections on same database with credentials like ora123/ora123 and ORA123/ORA123 that are working fine.
Is there any issue with case sensitive passwords in SQL developer?
Is there any way to overcome this issue?
Trying changing database parameter SEC_CASE_SENSITIVE_LOGON to false and they try login.
I think the clue is
after connection via ssh to the server
Sounds to me like the problem is the network connection from your local machine to the database server, and not SQL Developer or SQL*Plus.
You can verify that by installing an instant client with the SQL*Plus package on your local machine.

I am able to connect to the Oracle Database thru sql plus but not thru sql developer

I installed Oracle11g XE for windows32.
First time when I try to connect via SQL developer it gets connected effortlessly. But once I close the SQL Developer and restart it, then again I am unable to connect to the DB.
Then I tried to connect with SQL plus and guess what it gets connected!
But through SQL devloper I receive an error message as follows:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor.
I have checked all the credentials thoroughly. Still am unable to find the error. Please Help.
When you are using sql plus you use the tnsnames.ora file to find your connection. You can do the same in sql developer.
Just click the listbox connection type and choose TNS instead of basic
then for network alias you should be able to choose a connection from your tnsnames.ora

Error while connecting to Oracle database from oracle SQL Developer though I've the oracle client installed

I've installed Oracle client in my machine, when I'm trying to connect to the oracle database server from Oracle SQL Developer am getting the following error:
Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
But am able to connect to the server using sql plus and TOAD as well from my machine. What is the issue if Toad connects to the server why cant my Oracle sql developer could not connect??
checked all the possible solutions like:
tns strings checking, telnet to the server and its port,
changing the oracle home in the sqldeveloper->tools->preferences->database->advanced tab.
None solved my issue. Is this the firewall issue?
If it is so how am able to connect using TOAD/sql plus ??
UPDATE: I'm connecting to the Oracle database server using the VPN.
Any help is much appreciated.
Thanks in advance.

Couldn't connect to Oracle 11g using service name via toad but could connect using SQL Developer

I couldn't connect to Oracle 11g using Toad but I could connect using SQL Developer. I am receiving the following error message when connecting using Toad:
ORA-12505: TNS:listener does not currently know of SID given in the
connect descriptor.
I have ticked the option "Service Name" instead of "SID" so I'm not actually expecting such error message since I'm not trying to connect using SID. However, I am able to connect using SQL Developer using "Service Name".
What am I doing wrong? What am I missing here? And why does it work for SQL Developer and not for Toad?
I'm using Toad 9.0.1.8 and Oracle SQL Developer 3.1.0.7 by the way.

Resources