error 0004: Could not load file or assembly 'MySql.Data.Entity, Version=6.9.7.0

asp.net c# entity-framework-6 mysql mysql-connector

Popular Answer

The reference MySql.Data must likely be selected, and Copy local must be set to true.

It won't upload when you publish since it is set to false.

Select references in Solution Explorer, then choose MySql from the list. Data, and then turn on Copy Local in the Properties box.

enter image description here

Additionally, copying the file MySql.Data to the server's bin folder, where your asp.net page is hosted, also works

1
1/17/2016 4:10:46 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow