Delphi 7
I have this situation:
My application can't connect to database Direct ou Client Mode.
In command prompt using TNSPING utility against the database it responds OK.
Even SQLPlus can connect to the database.
Trying to connect on Client Mode gives ORA-12170
Trying to connect on Direct Mode gives:
NET: Network error (Cannot connect to server on host 'SERVER':
Uma tentativa de conexão falhou porque o componente conectado não respondeu
corretamente após um período de tempo ou a conexão estabelecida falhou
porque o host conectado não respondeu.
Socket Error Code: 10060($274C))
<Host = SERVER:1521>
Is there something in TOraSession that can be made to identify this problem or avoid it? Here's my TORASESSION:
Code: Select all
object Oracle: TOraSession
Options.Direct = True
Server = 'SERVER:1521:SID'
LoginPrompt = False
AfterConnect = OracleAfterConnect
Left = 280
Top = 56
end