Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EntityFramework,The specified store provider cannot be found in the configuration, or is not valid

I have a Winform application and am using EntityFramework. The application runs just fine in my dev machine but when I try to run at client's machine I get "The specified store provider cannot be found in the configuration, or is not valid" error. I have distributed EntityFramework.dll with the client. Why am I getting this error? I am not putting the connection strings in the app.config file as it is dynamically created based on the database selected at runtime.(I am using VistaDB as database)

The app.config is below:

<configuration>
<configSections>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection,EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</configSections>
<connectionStrings>
 </connectionStrings>
 <entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
</entityFramework>
</configuration>
like image 326
jeff Avatar asked Apr 08 '13 12:04

jeff


1 Answers

I had this problem. I uninstalled Connector .NET and reinstalled it. Now it works.

like image 197
H2ONaCl Avatar answered Oct 31 '22 22:10

H2ONaCl