'MvcMusicStore.Models' already contains a definition for 'Cart' C

When I build my project I get an error telling me that _"Error 1 The namespace 'MvcMusicStore.Models' already contains a definition for 'Cart' C:\Users\Gary\Documents\Visual Studio 2012\Projects\M...

Id #6704 | Release: None | Updated: Nov 12, 2014 at 10:46 AM by 05beckga | Created: Nov 12, 2014 at 10:46 AM by 05beckga

Unable to populate dropdown list

Hi here is the code to populate drop down in MVC3. I can't populate the data ..I got an empty dropdown <div class="editor-label"> @Html.LabelFor(model => model.genre_id,"genre") ...

Id #6703 | Release: None | Updated: Jun 17, 2014 at 5:46 PM by ilamparithi | Created: Jun 17, 2014 at 5:46 PM by ilamparithi

Part 5 edit details application error

in part 5 we are asked to make a storemanagercontroller The section "A first look at the Store Manager" seems to work but when I click the edit buttons I get this application error Server Error ...

Id #6702 | Release: None | Updated: Aug 28, 2014 at 9:41 PM by kash74 | Created: May 22, 2014 at 3:21 PM by Markmugen

Part 4 connectionString

In part 4 we are told to make changes to the Web.config we are told to add <connectionStrings> <add name="MusicStoreEntities" connectionString="Data Source=|DataDirectory|MvcMusi...

Id #6701 | Release: None | Updated: Sep 11, 2014 at 2:53 AM by timtrag12 | Created: May 22, 2014 at 1:55 PM by Markmugen

DB appears to be empty

I got stuck at part 4 of tutorial. Even tho app doesn't crash, when i click "Store" i get 0 genre. What could be causing the problem ? I have updated both web.config files (one global and one in vi...

Id #6700 | Release: None | Updated: May 20, 2014 at 6:38 PM by paradoxajd | Created: May 20, 2014 at 6:38 PM by paradoxajd

music store example error in creating shopping cart index view

when creating index view of shopping cart in music store example error is The model item passed into the dictionary is of type 'Music.ViewModels.ShoppingCartViewModel', but this dictionary require...

Id #6699 | Release: None | Updated: Mar 22, 2014 at 12:12 PM by lakshmi12 | Created: Mar 22, 2014 at 12:11 PM by lakshmi12

MVC Music Store

I am using the MVC Music store tutorial application. I have changed 3 of the original classnames (renamed them) of the application namely Genre,Album and Artist and have named them as Categories,Br...

Id #6698 | Release: None | Updated: Mar 18, 2014 at 10:27 AM by Sabyasachi_Patra | Created: Mar 18, 2014 at 10:25 AM by Sabyasachi_Patra

Part 10: Album Grid showing wrong alignment

When I am clicking on Classical music, it shows wrong alignment, but when I click on Disco it shows right alignment. this is my layout.cshtml code: <!DOCTYPE html> <html> <head> <title>@ViewBa...

Id #6697 | Release: None | Updated: Nov 1, 2014 at 9:15 PM by mahernoz | Created: Mar 5, 2014 at 12:49 PM by Suvro

Log in page not found

Hi. I'm working on the music store app in vs 2012 mvc4. So i have problem after creating the admin user i.e after adding the notation [Authorize(Roles = "Administrator")]. After adding this not...

Id #6696 | Release: None | Updated: Feb 28, 2014 at 12:50 PM by Prawno | Created: Jan 27, 2014 at 5:42 AM by IgorTashevski

The model backing the 'MusicStoreEntities' context has changed since the database was created. Consider using Code First Migrations to update the database.

namespace MvcMusicStore.Controllers { public class StoreController : Controller { MusicStoreEntities storeDB = new MusicStoreEntities(); // // GET: /Store/ public ActionResult Index() { var ge...

Id #6695 | Release: None | Updated: Jan 18, 2014 at 4:38 PM by Suvro | Created: Jan 18, 2014 at 4:06 PM by Suvro