NETNetworkError ( An operation was attempted on something that is not a socket)

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
katsifos
Posts: 5
Joined: Fri 19 May 2006 07:13

NETNetworkError ( An operation was attempted on something that is not a socket)

Post by katsifos » Thu 02 Aug 2007 08:24

Hello
i am using oradirect.net mobile version 3.50.11.1
to connect to oracle 10g express edition .
but after 10 -15 mins on stand by
i get
NETNetworkError ( An operation was attempted on something that is not a socket) when i try to sent a insert statement.
can you please inform how can i haddle this?

Thanks in advanced
Aris Katsifos

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

Post by Alexey » Thu 02 Aug 2007 09:10

First of all try to use the latest version of OraDirect .NET (3.55.23).
Do you open the connection before performing an insert?
If the connection is dead try to reopen it.

katsifos
Posts: 5
Joined: Fri 19 May 2006 07:13

Post by katsifos » Thu 02 Aug 2007 09:51

thank you very much. it worked.
I downloaded the 3.55 version
and make a few changes in code.
i closeed the connection every time i opened it and the reopen every time
i need to send/get any data to databas.
the first test after 20 min of inactivity
was ok.
i 'll try 2 hours of inactivity and sent new data again
to see the results.
Regards Aris

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

Post by Alexey » Thu 02 Aug 2007 10:04

OK, I will be around.

Post Reply