"Unable to Retrieve Metadata...Config System Failed to Initialize" in MVC "Add Controller"

asp.net-mvc entity-framework visual-studio

Popular Answer

I had EF 6 installed, adding:

<providers>
    <provider invariantName="System.Data.SqlClient" 
        type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>

my configuration file. Due to various scaffolding concerns, I choose to revert to Ef 5. I erased from the config after removing EF 6 and reinstalling EF 5, at which point I was able to create my new controller. I found out about this by utilizing the

PM> Update-Database –Verbose
8
5/7/2014 1:28:13 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow