Could not load type 'CoreLab.Common.DbParameter' on IIS6

Could not load type 'CoreLab.Common.DbParameter' on IIS6

Postby tonydelabone » Thu 15 May 2008 09:52


I have to ASP.NET web applications running on my ASP.NET IIS6 server localhost. Previously I had CoreLabs version 3.5 and 2.8 running in parallell on two different virtual directory. We recently converted to .NET 3.5 and tried the new 4.5 version instead of the 2.8 version. It did not work well so I tried to change back to 2.8. But now when I open my browser to localhost I get this error message:

[TypeLoadException: Could not load type 'CoreLab.Common.DbParameter' from assembly 'CoreLab.MySql, Version=, Culture=neutral, PublicKeyToken=09af7300eec23701'.]

Posts: 1
Joined: Thu 08 May 2008 12:35

Postby Alexey.mdr » Thu 15 May 2008 13:03

We recommend using MyDirect .NET version 4.50.27
Please check web.config in the project for referencing correct libraries.
Then rebuild the project.
This should solve the problem.
Posts: 729
Joined: Thu 13 Dec 2007 10:24

Return to dotConnect for MySQL