Page 1 of 1

Could not load file or assembly 'CoreLab.MySql.Web'

Posted: Thu 07 Dec 2006 02:34
by geoffHome
This has got me beat.
I've referenced it. I've loaded it to the bin (I've put all the .dll's just in case ).
This application used to work and now can't figure why I can't successfully deploy it!

Help Please!!!!

Error message:

Parser Error Message: Could not load file or assembly 'CoreLab.MySql.Web, Version=3.50.14.0, Culture=neutral, PublicKeyToken=09af7300eec23701' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Source Error:


Line 41:
Line 42:
Line 43:
Line 44:
Line 45:


Assembly Load Trace: The following information can be helpful to determine why the assembly 'CoreLab.MySql.Web, Version=3.50.14.0, Culture=neutral, PublicKeyToken=09af7300eec23701' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


*****************

Part of web.config





























































Posted: Thu 07 Dec 2006 07:45
by Alexey
Does your application work locally?

Posted: Fri 08 Dec 2006 07:43
by geoffHome
Yes. Works without fault on my PC.
If it didn't I'd hardly be surprised that it failed on deployment!

Thanks,

Geoff

I've uploaded a complete working application based on version 3.50.15.0 an same type error

Posted: Fri 08 Dec 2006 07:47
by geoffHome
Of course now it refers to failing to find 3.50.15.0

Posted: Fri 08 Dec 2006 10:58
by Alexey
Wasn't MySQLDirect .NET installed on the machine where you deploy your application?

It works on my development machine but not when deployed to a remote server

Posted: Fri 08 Dec 2006 11:16
by geoffHome
I have mySQLDirect installed on my development machine and it works.

I deploy it to remote server with the mySQLDirect .dll's in the /bin folder as I always have but now it fails to work.

Posted: Fri 08 Dec 2006 12:16
by Alexey
Please send us small test project to reproduce the problem.
Use e-mail address provided in the Readme file.
Do not use third party components.

Slowly developed a test project and tested often and it worked

Posted: Sun 10 Dec 2006 09:55
by geoffHome
Think I'm picking up remnants of earlier versions from somewhere occasionally.

Posted: Mon 11 Dec 2006 07:32
by Alexey
Check the GAC.

How do I check the GAC?

Posted: Tue 12 Dec 2006 05:15
by geoffHome
Alexey,

I'm getting errors that refer to 3.50.10.0 and I've long since moved on to 3.50.15.0
*****************
Could not load file or assembly 'CoreLab.MySql, Version=3.50.10.0, Culture=neutral, PublicKeyToken=09af7300eec23701' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
*****************
How do I check and remove references to the earlier version please.

Geoff

Posted: Tue 12 Dec 2006 07:41
by Alexey
Remove all CoreLab.* assemblies from GAC.
In your application change all occurances of 3.50.10.0 to 3.50.15.0.