Not able to connect to oracle database using Oracle SQL Developer - oracle

I am new to Oracle, I have installed Oracle Server 11g2 and Oracle SQL Developer (client) tool.
I am able to connect server from command prompt successfully, please have a look here : http://prntscr.com/hytzdn
I am trying to connect the server from Oracle SQL Developer (client) tool but it's not allowing me. I am getting this SID specific error : http://prntscr.com/hyu1i2
Can someone please help me to resolve this?
Thanks in advance.

In your command prompt connection type this query
select * from global_name;
Then in sql developer change your sid name with the query result.

Related

Oracle 11g SqlDeveloper connects to remote database but SqlPlus cannot

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.

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

Oracle SQL Developer can't connect to remote database

I have Windows 8 and Oracle SQL Developer. When I tried to connect to a remote server, it give me v$session.osuser error and vendor code 17190.
Do anyone know what this means? I have tried to search for the vendor code 17190 but nothing related to Oracle.
Thanks

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