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 at 4:46 PM by ilamparithi | Created: Jun 17 at 4: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 at 8:41 PM by kash74 | Created: May 22 at 2: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: May 22 at 12:56 PM by Markmugen | Created: May 22 at 12: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 at 5:38 PM by paradoxajd | Created: May 20 at 5: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 at 11:12 AM by lakshmi12 | Created: Mar 22 at 11:11 AM 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 at 9:27 AM by Sabyasachi_Patra | Created: Mar 18 at 9: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: Jun 12 at 4:26 PM by graymond | Created: Mar 5 at 11:49 AM 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 at 11:50 AM by Prawno | Created: Jan 27 at 4: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 at 3:38 PM by Suvro | Created: Jan 18 at 3:06 PM by Suvro

The element entity framework has invalid child element providers.

Im using Asp.net MVC with MySql.When Im adding EF 6.0.0 and run the solution.The following error occurs. Configuration Error Description: An error occurred during the processing of a configurat...

Id #6694 | Release: None | Updated: Dec 24, 2013 at 1:26 PM by ajaynetdeveloper | Created: Dec 24, 2013 at 4:32 AM by ajaynetdeveloper