I have a Visual Studio Code version 1.69.1 project in which I'm trying to connect to my local Oracle 12C database.
I've done it exactly how the documentation says to do it, and I've verified that my local database connection is up and listening; I've verified by connecting through SQL Developer. Nonetheless I still get the following error:
Error opening connection 'USER1.orcl'.Details: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
This is a shot of my Oracle Explorer configuration:
And this is a shot of the exact same connection in SQL Developer - which connects fine:
Any suggestions?
Thanks in advance.
Related
We are suddenly getting the error ORA-12514, TNS:listener does not currently know of service requested in connect descriptor in our application.
Googling this seems to suggest a couple of easy solutions (e.g. found here), but they don't work for us.
The perplexing thing is:
We can connect via SSH to the server running our application, and..
we can connect with SQLPlus on that server, ..
using the exact same JDBC connection parameters as the app (we can get them from a log during application startup, so we are sure they are the same).
Why could it be that we can connect to the DB with SQLPlus, but our app cannot?
Here are the two methods to connect (JDBC and SQLPlus), both consistently anonymised:
JDBC
{
jdbcDriver=oracle.jdbc.OracleDriver,
jdbcUser=THE_USER,
jdbcPassword=THE_PASSWORD,
configurationVersion=1.0.14,
jdbcURL=jdbc:oracle:thin:#(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=THE_HOST)(Port=THE_PORT))(CONNECT_DATA=(SERVICE_NAME=THE_SERVICE_NAME)))
}
SQLPlus
sqlplus THE_USER/'THE_PASSWORD#'"(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=THE_HOST)(Port=THE_PORT))(CONNECT_DATA=(SERVICE_NAME=THE_SERVICE_NAME)))"
According to our DB specialist there were "wrong entries in Oracle Internet Directory (OID)".
They cleaned it up and now it ist working again. Sorry that this is not very helpful as an answer, but I don't know more details...
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 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
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
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.