System.TypeLoadException: Could not load type 'CoreLab.Common.INullable' from assembly 'CoreLab.Data, Version=4.25.18.0,

System.TypeLoadException: Could not load type 'CoreLab.Common.INullable' from assembly 'CoreLab.Data, Version=4.25.18.0,

Postby edmire » Fri 30 Nov 2007 13:50

I just upgraded the MyDirect.NET component to the latest version (4.25.18) and now I get this error when I call the MySQLDataAdapther.fill() method. I tried removing references to Corelab.mysql & corelab.data and readding them but no luck. I also tried a clean build and that didn't do the trick either. Please help.
edmire
 
Posts: 3
Joined: Thu 22 Nov 2007 03:57

Postby Serious » Mon 03 Dec 2007 15:36

We checked the MySqlDataAdapter.Fill() method and it works fine. The error might occur because of using the old assemblies left in the system, which are loaded then by your application.

Please follow these steps to reinstall MyDirect .NET:

1) uninstall MyDirect .NET
2) make sure there are no CoreLab.* in your GAC and any other folder, accessible by your application
3) reinstall MySQLDirect .NET
4) add new references to your application.
Serious
 


Return to dotConnect for MySQL