I have a Winform application and I am using EntityFramework. The application works fine on my dev machine, but when I try to run it on the client computer, I get: "The specified store provider cannot be found in the configuration or is invalid." I distributed EntityFramework.dll with the client. Why am I getting this error? I do not put connection strings in the app.config file, because it is dynamically created based on the database selected at runtime. (I use VistaDB as a database)
The app.config file is located 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>
source share