I have Windows 8.1, MySql 5.6 and Visual Studio Ultimate 2012.
I am trying to install a DataSet, but I get a Cannot obtain provider factory for data provider named MySql.Data.MySqlClient when I try to drag a table into a DataSet.
a) Server Explorer can access the database and show me all the tables, and the "Test Connection" button returns a successful message.
b) I added MySql links to the bin folder ( MySql.Data , MySql.Data.Entity , MySql.Web ).
c) I edited the Web.config file by deleting the MySql.Data.MySqlClient invariant and adding it again with the “correct” settings. I tried setting <connectionStrings> , <DbProviderFactories> , membership providers, profile providers, and RoleManager providers;
d) I have already uninstalled and reinstalled MySql and Visual Studio.
Nothing seems to work and the same error persists. I have already tried many suggestions from this and other forums.
source share