Page 1 of 1

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

Posted: Thu 15 May 2008 09:52
by tonydelabone
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?

Posted: Thu 15 May 2008 13:03
by Alexey.mdr
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.