Page 1 of 1

sometimes direct mord in oracle can not connect

Posted: Fri 18 Feb 2011 01:40
by daizhicun
when i use OCI MODE , Connect is OK;

when i use Direct Mode ,Sometiems Connect is not OK;

it shows:
--------------------------------------------------------------------
connect error:NET: Network error (Windows socket error: 向一个无法连接的网络尝试了一个套接字操作。 (10051), on API 'connect')
--------------------------------------------------------------

i want to know how to solve it.

Posted: Fri 18 Feb 2011 13:05
by AlexP
Hello,

Please specify what you mean by 'Sometimes'.
Most likely the problem is connected with network, DNS, routing, etc. (http://msdn.microsoft.com/en-us/library ... s.85).aspx)
For example, if you set the Server name as 'name' (not as IP-address) and DNS doesn't work, you'll get this error.