Surely it connects by SID and not by service ??
First verify that the listenner is not with the status of Sleeep.
- 1.- Open a CMD console as administrator.
- 2.- Type: lsnrctl status
If the command is executed successfully, it is not a problem to listenner.
If the execution runs with error (Windows error 61), the problem is in the Listenner.
Solution:
In the CMD console, type: lsnrctl start and Enter.
With that the listenner starts. Try again the connection.
If done the above procedure, still not connected, verify that the ORA file is correct: listener.ora
../ u01 / app / oracle / product / 11.2.0 / dbhome_1 / network / admin / listener.ora
Open, ORA.file and validate that the SID, Host and Port are correct.
Basically your error is because the connection data or the not started listenner is not correct.
It also tests the connection type to "Advanced" and there locates the complete connection string and hits Test.
Edit:
If it shows you an error: No more data to read from the socket
- Open file $ ORACLE_HOME / network / admin / tnsnames.ora
- Changes "(SERVER = DEDICATED)" a "(SERVER = SHARED)"
- Restart the BD and the listener.