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>
I had this problem. I uninstalled Connector .NET and reinstalled it. Now it works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With