Page 1 of 1

exception.InnerException is Devart.Data.Oracle.OracleExcepti

Posted: Tue 22 Mar 2011 16:56
by mlagasio
Hi

catching an UniException I cannot decide if InnerException is
Devart.Data.Oracle.OracleException because visual studio
state

The type 'Devart.Data.Oracle.OracleException' exists in both 'Devart.Data.Oracle.dll' and 'Devart.Data.Universal.Oracle.dll'

I've understand that the type 'Devart.Data.Oracle.OracleException' is defined with the same name into two dll.
I can add a reference to
'Devart.Data.Oracle.dll'
but I have the error above.
If I add a reference to 'Devart.Data.Universal.Oracle.dll' I cannot find the type 'Devart.Data.Oracle.OracleException'.


I need cast UniException.InnerException (perhaps its type is defined in 'Devart.Data.Universal.Oracle.dll') to Devart.Data.Oracle.OracleException
but how could I do?

Regards
Marco

Posted: Wed 23 Mar 2011 17:16
by Shalex
We have answered you in this thread.