Could not load file or assembly Devart.Data.MySql

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
[email protected]
Posts: 43
Joined: Wed 17 Sep 2008 11:31

Could not load file or assembly Devart.Data.MySql

Post by [email protected] » Thu 27 Nov 2008 14:06

This is the detailed error message:

The server encountered an error processing the request. The exception message is 'Could not load file or assembly 'Devart.Data.MySql, Version=5.0.6.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)'. See server logs for more details. The exception stack trace is:
at Devart.Data.MySql.Linq.Provider.MySqlDataProvider.CreateConnection()
at Devart.Data.Linq.Provider.DataProvider.a(d A_0, Object A_1)
at Devart.Data.Linq.DataContext.a(Object A_0, MappingSource A_1)
at Devart.Data.Linq.DataContext..ctor(String connectionString, MappingSource mapping)

Get yourself this free tool..
http://www.red-gate.com/products/reflector/
.. and you'll find out that "Devart.Data.MySQL.Linq" is referencing version 5.0.6.0 of "Devart.Data.MySQL" instead of version 5.0.12.0

Could you please fix this issue? For all other users: Insert the following code into your web.config as a workaround:









________
MARIJUANA PICTURES
Last edited by [email protected] on Thu 17 Feb 2011 05:20, edited 1 time in total.

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Thu 27 Nov 2008 14:22

Thank you for the bug report. The error will be fixed in the nearest build of dotConnect for MySql.

Post Reply