When you have the MySQL .NET library installed on a local machine and want to deploy an Entity Framework application to a server without the library installed, I always (thus-far without fail) forget at least one of the following:
- EntityFramework.dll – set to copy local
- MySql.Data.dll – set to copy local
- MySql.Data.Entity.dll – set to copy local
- Update web.config to use MySQL DLLs (copy from
x:WindowsMicrosoft.NETFramework[version]configmachine.config
on local machine)