Solved

MySql.Data.dll error

Posted on 2011-03-15
3
712 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
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
Imran Javed Zia earned 500 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

813 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now