Last post Feb 28, 2017 12:03 AM by rrrsr7205
Feb 23, 2017 05:35 PM|wavemaster|LINK
Answer: same as yesterday of course.
I have two users as members of a Git repo. One user is the developer, the other user is the tester. The tester can only read from Git.
The tester had a working environment 24 hours ago.
We do a pull from the repo and attempt to update the EF model from the database.and now we an error message on the screen where we normally put a check in the tables checkbox.
Which version of EF do you want to use? (there is a greyed out radio button visible with "Entity Framework 6.x"
Your project references the latest version of Entity Framework, however, an Entity Framework database provider compatible with this version could not be found for you data connection.
If you have already installed a compatible provider, ensure you have rebuilt your project before performing this action.
Otherwise, exit this wizard, install a compatible provider, and rebuild your project.
Apparently somewhere along the lines this got hosed up. How do I fix this?
Nuget update does not indicate I need to update anything.
Feb 23, 2017 06:25 PM|PatriceSc|LINK
Which database are you using? The db engine has been updated? From the error message my understanding would be rather that the underlying database provider is now different. Maybe a 32 bit vs 64 bit issue if it is provided as a DLL.
Feb 23, 2017 06:56 PM|wavemaster|LINK
I am using SQL Compact Edition.
I have deleted all of EF items in App_Code,
re-installed everything again recreated the Model and I am getting the same error message and the same point.
I.e. the issue is not with EF but with something in my configuration.
Where would that configuration be?
Feb 27, 2017 09:19 AM|AngelinaJolie|LINK
I find a solution that the error is similar with yours.
Here is his solution:
Install-Package EntityFramework -Version 6.0.0
Install-Package EntityFramework.zh-Hans -Version 6.0.0
2: add the node at .config file
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
<provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6"></provider>
3: Rebuild the project .
Feb 28, 2017 12:03 AM|rrrsr7205|LINK
Looks like your bin refreshes are not refreshing from the correct folder