Vendor code 17002 to connect to SQLDeveloper

DatabaseConnectOracle Sqldeveloper

Database Problem Overview


I'm trying to connect to a database using SQLDeveloper and I get the following error:

An Error was Encountered performing The requested operation:

IO Error: Conection reset

Vendor code 17002.

Could you please help me?

Database Solutions


Solution 1 - Database

Listed are the steps that could rectify the error:

  1. Press Windows+R
  2. Type services.msc and strike Enter
  3. Find all services starting with ora start these services and wait!!
  4. When your server specific service is initialized (in my case it was orcl)
  5. Now run mysql or whatever you are using and start coding.P

Solution 2 - Database

I encountered same problem with ORACLE 11G express on Windows. After a long time waiting I got the same error message.

My solution is to make sure the hostname in tnsnames.ora (usually it's not "localhost") and the default hostname in sql developer(usually it's "localhost") same. You can either do this by changing it in the tnsnames.ora, or filling up the same in the sql developer.

Oh, of course you need to reboot all the oracle services (just to be safe).

Hope it helps.


I came across the similar problem again on another machine, but this time above solution doesn't work. After some trying, I found restarting all the oracle related services can fix the problem. Originally when the installation is done, connection can be made. Somehow after several reboot of computer, there is problem. I change all the oracle services with start time as auto. And once I could not connect, I restart them all over again (the core service should be restarted at last order), and works fine.

Some article says it might be due to the MTS problem. Microsoft's problem. Maybe!

Solution 3 - Database

I had the same Problem. I had start my Oracle TNS Listener, then it works normally again.

See LISTENER: TNS-12545 ... No such file or directory.

Solution 4 - Database

In your case the "Vendor code 17002" is the equivalent of the ORA-12541 error: It's most likely that your listener is down, or has an improper port or service name. From the docs:

ORA-12541: TNS no listener

Cause: Listener for the source repository has not been started.

Action: Start the Listener on the machine where the source repository resides.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionGutenbergView Question on Stackoverflow
Solution 1 - DatabaseWajid Hussain SiddiqiView Answer on Stackoverflow
Solution 2 - DatabaseluckyfishView Answer on Stackoverflow
Solution 3 - Databaseuser3766355View Answer on Stackoverflow
Solution 4 - DatabasePunith RajView Answer on Stackoverflow