V
V
vovkaooo12019-12-13 22:37:01
.NET
vovkaooo1, 2019-12-13 22:37:01

How to fix Mysql.Data error (Could not load file or assembly "MySql.Data, Version=8.0.13.0)"?

There is an old project. Compiled already. When trying to interact with the database, it gives the following error -

spoiler
Необработанное исключение: System.IO.FileLoadException: Не удалось загрузить файл или сборку "MySql.Data, Version=8.0.13.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" либо одну из их зависимостей. Найденное определение манифеста сборки не соответствует ссылке на сборку. (Исключение из HRESULT: 0x80131040)

The file MySql.Data.dll is in the folder. How to be?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mletov, 2019-12-13
@mletov

Specify the tags more precisely (as I understand it, this is a .NET project)
1) Install the .NET provider for MySql on the computer
2) Make an Add Reference for the dll
3) If the version of the dll is different, specify it in Web.Config

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question