Issue 321 in dblinq2007: Assembly is built by a runtime newer than currently loaded

24 views
Skip to first unread message

dblin...@googlecode.com

unread,
Sep 15, 2011, 3:57:03 PM9/15/11
to dblin...@googlegroups.com
Status: New
Owner: ----

New issue 321 by ke...@santiamtech.com: Assembly is built by a runtime
newer than currently loaded
http://code.google.com/p/dblinq2007/issues/detail?id=321

What steps will reproduce the problem?
1. Downloaded MySql connector from Mysql.com
2. Downloaded Most recent DbLinq-0.20.1
3. Moved Mysql.Data.dll to DbLinq-0.20.1 folder

Ran command DbMetal.exe -provider=MySql -database:test -server:localhost
-user:root -password: -namespace:test -code:test.cs -sprocs

Error DbMeta: Could not load file or assembly 'MySql.Data' or one of its
dependencies. This assembly is built by a runtime newer than the currently
loaded runtime and cannot be loaded.

Im new to this and tried to follow the Wiki, but did not help. When I
changed the config for MySQL to <provider name="MySQL"
dbLinqSchemaLoader="DbLinq.MySql.MySqlSchemaLoader, DbLinq.MySql"
databaseConnection="MySql.Data.MySqlClient.MySqlConnection,
MySql.Data.MySqlClient, Version=6.3.6.0, Culture=neutral,
PublicKeyToken=C5687FC88969C44D" /> I got another error: That said could
not load databaseConnectionType

What is the expected output? What do you see instead?
I expected the dbml file to be built

What version of the product are you using? On what operating system?
0.20.1 on Windows 7

dblin...@googlecode.com

unread,
Apr 10, 2012, 1:38:54 AM4/10/12
to dblin...@googlegroups.com

Comment #1 on issue 321 by worldofy...@gmail.com: Assembly is built by a

Hi, I am new to C#.

I am also facing this issue after i did the code changes to resolve another
error as mentioned on this link:
http://code.google.com/p/dblinq2007/issues/detail?id=238

Any updates on the status of the bug?

Thanks & Regards,
Yogi P

dblin...@googlecode.com

unread,
Mar 4, 2013, 5:45:44 PM3/4/13
to dblin...@googlegroups.com

Comment #2 on issue 321 by arglebar...@gmail.com: Assembly is built by a
It's been a year and a half. I've looked all over the web for anyone having
this problem. This was the only place. Did you ever get a solution?

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

dblin...@googlecode.com

unread,
May 12, 2013, 12:23:17 AM5/12/13
to dblin...@googlegroups.com

Comment #3 on issue 321 by Lu.dao...@gmail.com: Assembly is built by a
What's cause the problem is that your mysql version is newer than the
version dbmetal'used.
The solutions is just simple:
download a lower version of mysql ,copy and overwrite the version you
used before,try it!
Reply all
Reply to author
Forward
0 new messages