Page 1 of 1

Corelab.Oracle.Oracleexception network error

Posted: Fri 24 Sep 2010 10:19
by Sebastian Wypiór
Hi,

I found that when my MC3090 wakes up after power off, my Oracle.ConnectionState is Open which is not true. That situation causes problem because when I try to execute some SP I'm getting Oracle Network Exception.

Is there some way to handle this problem ?

My CoreLab.Oracle.dll version is 4.70.38.1

regards

Posted: Tue 28 Sep 2010 17:12
by Shalex
The OracleConnection.Ping() method is implemented in the current version of dotConnect for Oracle. It can be used to check if connection is valid before using it.

If your version doesn't include implementation of this method, try executing some test query (e.g., "begin null; end;") to check your connection object.