Re: Error Unable to find the requested .Net Framework Data Provider. It may not be installed.
Posted by: Gabriela Martinez Sanchez
Date: July 12, 2013 10:39AM

hi Mikhail

You need to add the provider to your app/web. config file:


<system.data>
<DbProviderFactories>
<clear />
<remove invariant="MySql.Data.MySqlClient"/>
<add name="MySql.Data.MySqlClient" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data,Version=6.7.4.0, Culture=neutral,PublicKeyToken=c5687fc88969c44d"/>
</DbProviderFactories>
</system.data>

Thus your application can found the correct provider.

I'm assuming you're using EF Code First.

Hope this solves the problem.

I'll wait for your feedback.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.