Network error:The requested address is not valid in its context

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
[email protected]
Posts: 6
Joined: Thu 31 Aug 2006 16:36

Network error:The requested address is not valid in its context

Post by [email protected] » Fri 05 Jan 2007 11:30

Hello CoreLab Team!

I sporadically get this error on my mobile device when I try to connect my oracle database (CF 1.1, OraDirect.NET 3.50)
CoreLab.Oracle.OracleException:Network error:The requested address is not valid in its context.
The Oracle Database will be connected by IP Address, and not by server name. (Connect by server name gives the same problem)
When i get this error, my device has a valid IP Address and PING to standard gateway is OK too. (Network is OK)

I know, it’s not a problem from OraDirect, but, may be you know what i have to consider.
What will be happen internal, when this error occurs?
Do you try to resolve the server name when it will be connected by IP Address?
May be the internal timeout of connect is too small?

Thank You !!!
Ewgenij

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Tue 09 Jan 2007 17:50

Unfortunately we can't help you on this. Thу whole problem turns on TcpClient's behaviour.

Post Reply