Mobile connect to oracle Error

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
ricky Chairat
Posts: 1
Joined: Sun 20 Jan 2008 16:47

Mobile connect to oracle Error

Post by ricky Chairat » Sun 20 Jan 2008 17:00

it's error come out when try to connect oracle database with your for mobile

CoreLab.Oracle.OracleException was unhandled
Message="Network error:: A socket operation encountered a dead network"
at CoreLab.Oracle.u.c()
at CoreLab.Common.DbConnectionFactory.k()
at CoreLab.Common.DbConnectionPoolGroup.i()
at CoreLab.Common.DbConnectionPool.a()
at CoreLab.Common.DbConnectionPool.GetObject()
at CoreLab.Common.DbConnectionFactory.j()
at CoreLab.Common.DbConnectionClosed.Open()
at CoreLab.Common.DbConnectionBase.Open()
at CoreLab.Oracle.OracleConnection.Open()
at mobile1.form1.btnOK_Click()
at System.Windows.Forms.Control.OnClick()
at System.Windows.Forms.Button.OnClick()
at System.Windows.Forms.ButtonBase.WnProc()
at System.Windows.Forms.Control._InternalWnProc()
at Microsoft.AGL.Forms.EVL.EnterMainLoop()
at System.Windows.Forms.Application.Run()
at mobile1.form1.Main()

my code

Imports CoreLab.Oracle

Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim myConnString1 As String = "User Id=DD4U;Password=Programdd2009;port=1521;server=respos2009_sony;" 'Sid=respos20;"
Dim myConnection1 As New OracleConnection(myConnString1)
Catch ex As CoreLab.Oracle.OracleException
End Try
End Sub
End Class

Posts: 729
Joined: Thu 13 Dec 2007 10:24

Post by Alexey.mdr » Mon 21 Jan 2008 09:57

A socket operation encountered a dead network.
This could indicate a serious failure of the network system (that is, the protocol stack that the Windows Sockets DLL runs over), the network interface, or the local network itself.

This link may be helpful (though the problem is with IIS server, it doesn't matter):

Post Reply