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

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
tonydelabone
Posts: 1
Joined: Thu 08 May 2008 12:35

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

Post by tonydelabone » Thu 15 May 2008 09:52

Hi

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=3.50.11.0, Culture=neutral, PublicKeyToken=09af7300eec23701'.]

Why?

Alexey.mdr
Posts: 729
Joined: Thu 13 Dec 2007 10:24

Post by 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.

Post Reply