Entity framework 6 or above version is not supported for asp.net MVC. So we need to uninstall it by using Package manager console.
Uninstall-Package EntityFramework –Version 6.0.0
If it is uninstalled then install entity framework 5.
If you are unable uninstall then I recommended you to delete the following entity framework version 6.0.0 reference from package.config.
<package id="EntityFramework" version="6.0.0" targetFramework="net45" />
Again install entity framework 5 by running the following command in the Package Manager Console
PM> Install-Package EntityFramework –Version 5.0.0.0
Post your comments / questions
Recent Article
- How to use if else statement in c++?
- How to use godaddy domain name with another godaddy hosting account?
- Restore of database 'DATABASE' failed. (Microsoft.SqlServer.Management.RelationalEngineTasks)
- How to programmatically modifying the AppSetting value in web.config using c#?
- TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined
- How to calculate the age from jQuery ui datepicker using c#?
- How to calculate days difference between two dates in c#?
- Changing date format in jQuery ui datepicker
Related Article