Invalid Cast Exception

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for Oracle in Delphi and C++Builder
Post Reply
krogers
Posts: 1
Joined: Fri 06 May 2011 15:54

Invalid Cast Exception

Post by krogers » Fri 06 May 2011 16:03

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.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Tue 10 May 2011 07:30

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.

Post Reply