Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8532197
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:39:33+00:00 2026-06-11T09:39:33+00:00

I am using MySQL with dotConnector from Devart. I’m trying to use the code-first

  • 0

I am using MySQL with dotConnector from Devart. I’m trying to use the code-first with migrations that the library offers. It creates the migrations just fine, but when I try to call Update-Database in the package manager I’m getting this error

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileLoadException: Could not load file or assembly 'EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Digging through my reference list, I’m using EntityFramework 5.0.0.0 and am targeting the v4.5 framework. Why would this be asking for v4.4 of EF?

I set up two connection strings, one using the regular MySQL provider, the other using dotConnector’s MySQL provider, it didn’t make a difference which one my context used. I’ve tried removing and re-adding the EF reference.

I’m so lost on this I don’t even know what other information to give to help get a constructive answer. So, if there is more information I should give to help get a better answer, please let me know.

I’ve found more information about dotConnect and it looks like the Migrations portion targets 4.4. Does this mean I need to use EF 4.4? Or can I have both somehow so the migration has what it needs and I can use EF 5.0 everywhere else?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T09:39:34+00:00Added an answer on June 11, 2026 at 9:39 am

    EF 4.4 is .NET 4.0 version of EF 5.0. It looks like something in your project is targeting .NET 4.0 (or is built for .NET 4.0).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using mysql 5.5.2 on windows (Wamp) I'm writing a Java application that use several
Using MySQL and PHP; I'm trying to build an index that contains the averages
Using MySQL and PHP. I'm trying to select 4 random ads from a table.
using mysql as database. I got this code from the previous answers to the
Using php5.2 and MySQL 4.1.22 I've come across something that, at first, appeared simple
Using MySQL, I want to return a list of parents, from a table that
Using MySQL, How do I import a user defined database function from one db
Using MySQL, I have a simple table that logs the IP Address that users
(Using MySQL and PHP) I have a search form that will allow my users
Currently using MySQL version 5.1.6 This is my first real world build and so

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.