Page 1 of 1

Invalid Cast Exception

Posted: Fri 06 May 2011 16:03
by krogers
Hello,

In Delphi XE, when trying to connect to a database using either the DEVARTORACLE or DEVARTORACLEDIRECT connections in the data explorer, I am getting the following error message:

System.InvalidCastException: Unable to cast object of type 'Devart.DbxOda.DriverLoader.TCRDynalinkDriverLoader' to type 'Borland.Data.TDBXDriverLoader'.

I am currently using version 4.70.22 of the Oracle Driver, and have used both the installer and tried installing the source and self compiling, but have had no luck. Any help would be greatly appreciated.

Posted: Tue 10 May 2011 07:30
by AlexP
Hello,

Data Explorer in RAD Studio XE is a .NET application, as it is in RAD Studio 2009 and 2010, and DbxXXX drivers don't support .NET for RAD Studio 2009, 2010, and XE for the time being, but we plan to add such support in one of the new versions.