Weird version problem

Weird version problem

Postby R. Santana » Tue 20 Feb 2007 10:36

Hello,

I've a web site fully developed with version 3.55.18.0 that works great on my computer, once I upload it to my dedicated production server it works perfectly except just one page that shows this error:

=================================================
Could not load file or assembly 'CoreLab.MySql, Version=3.20.9.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)
=================================================

There isn't nothing different in this page, why it looks for a very old version of your component?

Thanks in advance.
R. Santana
 
Posts: 36
Joined: Tue 18 Jan 2005 20:52
Location: SPAIN

Postby Alexey » Tue 20 Feb 2007 12:20

What IDE did you use to develop web site?
Has MySQLDirect .NET ever been installed on the production server? Can you try to debug and find out where the old assembly is going to be loaded from? When did you upgraded from 3.20.9?
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby R. Santana » Tue 20 Feb 2007 12:28

My IDE is Visual Studio 2005 Pro.

On the production server I've never installed your component. and I've never install 3.20 version on this computer because I've formatted it about 3 weeks ago.

There's nothing about CoreLab in GAC on the production server, and in my computer there's only 3.55.18 version.

Regards
R. Santana
 
Posts: 36
Joined: Tue 18 Jan 2005 20:52
Location: SPAIN

Postby Alexey » Wed 21 Feb 2007 07:12

Please check very carefully that there is no old assemblies on both machine, and there is no strings like "3.20.9.0" somewhere in the files.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby R. Santana » Wed 21 Feb 2007 07:42

There's nothing like "3.20.9.0" in any file of the project, I've searched for it with a professional software, and there ¡sn't any file on the production or development machine of version 3.20.9.0 I've searched for "CoreLab.MySql.dll" and I haven't found nothing even in hidden or system files.

What I can't understand is why this page looks for an older version of your library...

There's any way to debug and find from where is trying to get this file version?

Regards
R. Santana
 
Posts: 36
Joined: Tue 18 Jan 2005 20:52
Location: SPAIN

Postby Alexey » Wed 21 Feb 2007 08:07

Please send me (alexeyi at crlab dot com) your project.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby R. Santana » Thu 01 Mar 2007 14:24

Solved. The problem was a reference in machine.config.

Thanks
R. Santana
 
Posts: 36
Joined: Tue 18 Jan 2005 20:52
Location: SPAIN

Postby Alexey » Fri 02 Mar 2007 10:55

Well done!
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for MySQL