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

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
geoffHome
Posts: 28
Joined: Tue 09 May 2006 23:55

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

Post by geoffHome » Thu 07 Dec 2006 02:34

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





























































Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Thu 07 Dec 2006 07:45

Does your application work locally?

geoffHome
Posts: 28
Joined: Tue 09 May 2006 23:55

Post by geoffHome » Fri 08 Dec 2006 07:43

Yes. Works without fault on my PC.
If it didn't I'd hardly be surprised that it failed on deployment!

Thanks,

Geoff

geoffHome
Posts: 28
Joined: Tue 09 May 2006 23:55

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

Post by geoffHome » Fri 08 Dec 2006 07:47

Of course now it refers to failing to find 3.50.15.0

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Fri 08 Dec 2006 10:58

Wasn't MySQLDirect .NET installed on the machine where you deploy your application?

geoffHome
Posts: 28
Joined: Tue 09 May 2006 23:55

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

Post by geoffHome » Fri 08 Dec 2006 11:16

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.

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Fri 08 Dec 2006 12:16

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.

geoffHome
Posts: 28
Joined: Tue 09 May 2006 23:55

Slowly developed a test project and tested often and it worked

Post by geoffHome » Sun 10 Dec 2006 09:55

Think I'm picking up remnants of earlier versions from somewhere occasionally.

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Mon 11 Dec 2006 07:32

Check the GAC.

geoffHome
Posts: 28
Joined: Tue 09 May 2006 23:55

How do I check the GAC?

Post by geoffHome » Tue 12 Dec 2006 05:15

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

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Tue 12 Dec 2006 07:41

Remove all CoreLab.* assemblies from GAC.
In your application change all occurances of 3.50.10.0 to 3.50.15.0.

Post Reply