[RESOLVED]Error message when creating new controller

" Unable to retrieve metadata for ‘MvcApplication3.Models.Album’.Using the same DbCompiledModel to create contexts against different types of database servers is not supported. Instead, create a separate DbCompiledModel for each type of server being
used.
"

Don’t know how to resolve this problem?

Rebuild the app after u add or modify the models

Leave a Reply