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

c# entity-framework exception

Question

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>
1
6
4/8/2013 12:04:20 PM

Popular Answer

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

2
2/9/2015 4:46:45 PM


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