Class cannot be found

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for InterBase & Firebird in Delphi and C++Builder
Post Reply
pablackdog
Posts: 3
Joined: Tue 27 Jan 2009 18:30

Class cannot be found

Post by pablackdog » Tue 27 Jan 2009 20:22

Greetings,

I'm new to the Devart dbExpress driver for Interbase. I've searched the forum but can't find a solution to this problem.

When I attempt to connect to any Firebird database I get the error:

Devart.DbxIda.DriverLoader.TCRDynalinkDriverLoader class cannot be found in Devart.DbxIda.DriverLoader, Version=1.0.0.5001, Culture=neutral, PublicKeyToken=09af7300eec23701

Before I bought the registered version, I tried the trial. I uninstalled the trial before installing the registered version and I thought I had all remnants of the trial deleted.

Thanks for any and all suggestions.

Carl Allison

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Wed 28 Jan 2009 10:16

This error can occur if you are developing Delphi .Net application with RAD Studio 2007.

Try to reinstall Devart.DbxIda.DriverLoader in GAC:
- open \Windows\assembly folder using Windows Explorer.
- uninstall (delete) Devart.DbxIda.DriverLoader.dll from the list;
- drag and drop Devart.DbxIda.DriverLoader.dll to this folder from the DbxIda installation folder.

If you have installed also RAD Studio 2009, try to restore Borland.Data.AdoDbxClient.dll assembly in GAC. The installer of RAD Studio 2009 replaces this assembly with version from RAD Studio 2009. To restore:
- open \Windows\assembly folder using Windows Explorer.
- uninstall (delete) Borland.Data.AdoDbxClient.dll from the list;
- drag and drop Borland.Data.AdoDbxClient.dll to this folder from \Program Files\Common Files\CodeGear Shared\RAD Studio\Shared Assemblies\5.0.

pablackdog
Posts: 3
Joined: Tue 27 Jan 2009 18:30

Class cannot be found

Post by pablackdog » Wed 28 Jan 2009 12:34

Plash,

I did both of your suggestions; the error continues.

This is a machine that has never had RAD Studio 2007 installed on it.
The error occurs even when I do not have Delphi 2009 open; I open DataExplore.exe directly.

I uninstalled and reinstalled Devart.DbxIDA.DriverLoader in GAC as you suggested; same error.

I restored Borland.Data.AdoDbxClient.dll from another machine that has Delphi 2007. This time an error message pops up stating "Unable to load AdoDbx provider". Investigating, I find that the version of the dll from Delphi 2007 is different (earlier) than the one from Delphi 2009. I restore the 2009 version and that error goes away, but the "class cannot be found" error returns.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Thu 29 Jan 2009 08:44

DbxIda does not support Data Explorer of RAD Studio 2009.

pablackdog
Posts: 3
Joined: Tue 27 Jan 2009 18:30

Class cannot be found

Post by pablackdog » Thu 29 Jan 2009 11:54

Plash,

I'm confused.

On the web page http://www.devart.com/dbx/ it clearly states that the dbExpress drivers support Delphi 2009. What does that statement mean?

Is Delphi 2009 support planned? When?

Can I get a refund?

Carl

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Fri 20 Feb 2009 09:38

Our driver supports Delphi 2009. This means that you can make application on Delphi 2009 or C++Builder 2009 that uses our driver.

But the driver cannot be used in Data Explorer of RAD Studio 2009.

Post Reply