[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

MySql.Data.dll error

Posted on 2011-03-15
3
Medium Priority
?
723 Views
Last Modified: 2012-06-22
I have an app running fine using MySqlConnector/NET on my testing PC but when it is loaded to the server I get this error.

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.

I assume it means just what it says and I loaded a .ddl file newer than the server is using. Is this true?

My host has to tell me what .dll to use if any?

Also, it simply goes in a bin folder on the app at the same level as I have on my testing machine. True?

Thanks
0
Comment
Question by:j-w-thomas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
Imran Javed Zia earned 1500 total points
ID: 35140470
Hi Thomas,
There could be may reasons for this, but some one of them can be:
If you have installed this dll from some installer then make sure you have installed same package on your server.  
So either sychronize the server with same package or add other dlls remove the package. more simply copy/add this dll and related dlls in bin folder and check if tyour problem is resolved or not.

0
 
LVL 3

Author Comment

by:j-w-thomas
ID: 35141145
hmmmm...yeah that could help only i do not want to run test after test on the live server.

But it seems that it defintely is a version issue?
0
 
LVL 3

Author Closing Comment

by:j-w-thomas
ID: 35141311
incomplete but helpful
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question