This project is read-only.

Scafolding Problem

Sep 8, 2014 at 9:32 AM

I try to create a new Controller named StoreManagerController but I have an Error message
Unable to retrieve metadata for "MvcMusicStore.Models.Album". Using the same DbCompilerModel to create contexts against different types of database servers is not supported. Instead, create a separate DbCompilerModel for each type of server being used.

what should I do?
Oct 14, 2014 at 4:19 PM
Try this:

In your Web.config comment out the entire <connectionStrings> tag. You should be able to add the controller now and then uncomment your <connectionStrings> tag once the controller is added.