I have a MVC 4 project set up and generated all the model classes using Entity Framework. Then I added a class and named it same as \"MyProjectEntities\" class and made it p
You need to provide the correct connection string. Not just the normal "Data Source=" type strings.
You will have a connection string that starts with "metadata=" in your config file, use that one.