Network Error: A connection attemp failed
Posted: Tue  04 Dec 2007 19:43
				
				Hello,
We are using OraDirect .NET V.3.55.23.0
We get the following error on occasion when attempting a connection to Oracle:
CoreLab.Oracle.OracleException: Network error: ( A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond )
The line of code that trips the error is:
oraConn.Open();
oraConn is of type CoreLab.Oracle.OracleConnection
This happens when we set Direct = True and connect directly to the database via IP address. We have tested the same code against dozens of different Oracle databases including 8i, 9i, and 10g and it happens on all of them. If you attempt the connection a second time immediately after the failure, it always connects successfully.
The error is very vague and we can confirm it is not a connectivity issue because other tools connect directly up to these databases instantly and consistently every time.
Any help on this would be appreciated.
Thanks,
Jeff
			We are using OraDirect .NET V.3.55.23.0
We get the following error on occasion when attempting a connection to Oracle:
CoreLab.Oracle.OracleException: Network error: ( A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond )
The line of code that trips the error is:
oraConn.Open();
oraConn is of type CoreLab.Oracle.OracleConnection
This happens when we set Direct = True and connect directly to the database via IP address. We have tested the same code against dozens of different Oracle databases including 8i, 9i, and 10g and it happens on all of them. If you attempt the connection a second time immediately after the failure, it always connects successfully.
The error is very vague and we can confirm it is not a connectivity issue because other tools connect directly up to these databases instantly and consistently every time.
Any help on this would be appreciated.
Thanks,
Jeff