I'm trying to setup a connection between SAP Lumira Discovery and an Oracle database. I only know the SID of the database. When i try to connect I get the error :
ORA-12514, TNS:listener does not currently know of service requested
in connect descriptor
So I assume the application is trying to connect using the service_name. Does anyone know how to use the SID?
Thanks
Related
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.
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.
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 am trying to use 0xDBE and I am able to connect to the database with the host name and the database name but there are no tables populating. I checked the schemas & tables and the tables are not listed there either. I was thinking since there is an instance name that stays the same but there is also an Oracle alias that changes. There are two database, one for test and one for production. I am trying to connect to test. I can connect successfully to the instance name but I am not sure how to get to the Oracle instance and see my tables.
Actually, when I try to connect to the test database it gives me and error Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
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.