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=188.8.131.52, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> </configSections> <connectionStrings> </connectionStrings> <entityFramework> <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> </entityFramework> </configuration>
I had this problem. I uninstalled Connector .NET and reinstalled it. Now it works.