Some time back I created a small application that uses SQL CE 4.0 database with Entity Frameworks.
Unable to generate the model from the 4.0 database, I generated it from an identical 3.5 database schema, and then repointed the config files and updated the Provider references.
Today I needed to update the schema.
I updated the 3.5 database schema, updated the model, and then pointed the configs back to the 4.0 database.
Now I get the error though on build: “Error 175: The specified store provider cannot be found in the configuration, or is not valid”
After some hours of trying to sort this out, I have created a brand new solution, pointed it at the 3.5 database, and attempted to create a new ADO.Net Entity Data Model. The model is generated, but on building the solution I get the same error as before.
On my machine, both SQL CE 3.5 and SQL CE 4.0 are installed.
I have no idea what to try next short of removing both frameworks from the machine and reinstalling them all.
Uninstalled all version of SQL Compact, rebooted and reinstalled SQL CE 3.5
All works fine now.