Getting error when trying to add StoreManagerController

first post: mnlia wrote: Hi. I am on Part 5 of the tutorial. When I try to add the StoreMan...

latest post: rakeshgundaala wrote: tanq it works.............

Help with sintaxis.

first post: nietoroger wrote: Hi. How do you traduce this to vb.net sintax? @model IEnumerable<M...

Unable to retrieve metadata for 'MVCMusicStore.Models.Album'. Unable to cast object of type 'System.Data.Entity.Core.Objects.ObjectContext' to type 'System.Data.Objects.ObjectContext'

first post: KuntalSaha wrote: While Creating the StoreManager Controller..this error is occuring....

latest post: nkokwuc wrote: I have the same error as I clicked Add to create StoreManagerContr...

Where is data stored?

first post: wisien92 wrote: I have finished the tutorial till part 7 (admin rights for user) an...

latest post: jongalloway wrote: Glad you found it. The database connection string is shown in the w...

Add a search bar to the site.

first post: stewartie4 wrote: Hi, does anyone know how you would go about adding a search bar to ...

The connection name 'DefaultConnection' was not found in the applications configuration or the connection string is empty.

first post: nicholastjohnson wrote: I am brand new to coding, so please let me know if there is additi...

latest post: wandileDiba wrote: wyzec solution works.......thank you

override void seed() no suitable method found to override in mvc4

first post: shivani13 wrote: hey, I am creating MVC music store using MVC 4 I am getting an ...

Ajax remove link in cart doesn't work

first post: madisonJames wrote: In the shopping cart index view there is no Ajax link in the comple...

latest post: karlton wrote: I also got stuck at this point. Clicking the 'Remove from cart' lin...

view orders?

first post: Estale wrote: Please tell me how to make the administrator may view orders, which...

Problem in validation

first post: rajeshingole26 wrote: I am at Part 6: Using Data Annotations for Model Validation for MVC...

EF error when updating

first post: MdIbrahimIslam wrote: After completing Part-6 which is Model Validation. I can create alb...

latest post: MdIbrahimIslam wrote: @bofcarbon1 Exactly! Only when I annotate the Album class with ```[...

Part 6 - Problem with Bind-attribute

first post: hiderline wrote: When I've added Bind-attribute [Bind(Exclude = "AlbumId")] I've fa...

latest post: bofcarbon1 wrote: Set a breakpoint and view the 'album' object being passed to the HT...

answered by: bofcarbon1 wrote: Set a breakpoint and view the 'album' object being passed to the HT...

SQL Server Database issues

first post: charlie303 wrote: I am trying to get the MVC Music Store application to work with SQL...

latest post: bofcarbon1 wrote: I did get one table created but I had to build the script myself. S...

How to get the App_Data option available

first post: Sidd2117 wrote: I am learning the MVC structure using the tutorials for music store...

Admin Order options and User profile?

first post: Phoenix234 wrote: Hey guys I just finished the tutorial and am wondering a few thing...

latest post: wj109s5 wrote: This would be nice, however, the user profile table is just for sho...

Reason for using partial classes

first post: ctaylor89 wrote: In the MVC music store project the Genre class and the Order class ...

Problem with Bind Exclude on Album model class

first post: yeurch wrote: I think there could be a problem with the Bind annotation on the Al...

latest post: yeurch wrote: Didn't really look at it too much, but everything *seems* to work i...

About the error: System.Data.SqlServerCe.4.0 provider not found

first post: shwujiun wrote: When I did P.47 , after adding the connection string, i got the fol...

Could not load file or assembly 'MySql.Web, Version=6.7.4.0 - Page 82 Security Tab

first post: meparker757 wrote: I am using Visual Studio Professional 2012, OS Windows 7, 64bit W...

login error

first post: peter66 wrote: In part 7 in tutorial mvcmusicstore i have problem to login. i hav...

latest post: Arghavan wrote: Hi there, I have exactly the same problem. while debugging it does...

OrderDetails not populating

first post: dpsussan wrote: I have been stuck on this issue for a few days now and i dont know ...

latest post: tensai wrote: Hey, I know it's been a while since you posted this, but I've enc...

New upgrade version of MVC Music Store in MVC 5 + EF 6?

first post: saukai wrote: Hi, any upgrade version in ASP.NET MVC 5, Entity Framework Code Fir...

Remove From Cart - Ajax Version Problem

first post: intern2013 wrote: I have been workin on the tutorial of MvcMusicStore. However, ı stu...

Don't understand difference in Details and Browse methods

first post: mattmcm wrote: Hi, Was wondering if anyone could clarify this for me... Been wal...

Remove From Cart function not working

first post: elizabethy wrote: Hello, I've been following this tutorial pretty closely. I've copi...

latest post: RaySko wrote: Try change to jquery-1.5.1.min.js in views/shoppingcart/index.cshtml

_Layout.cshtml file is not found under shared folder

first post: Krishna_Priya wrote: HI , as I follow the tutorial step by step online , I dont get th...

convertion of type 'string' to 'decimal'

first post: 786basharat wrote: Hi Everyone! I have met this mistake. Error 2 Cannot implicitly c...

Parameter names of controlers

first post: fpalma wrote: Hi to all! In this tutorial, on step 2, we have two diferent type...

Fetching data for Genres

first post: asncharish wrote: As explained in the example, i have followed the same but did not a...

Shared Folder not Found

first post: candidsharp wrote: Hello guys, I am following this tutorial in __MVC 4.0 on VS 2010_...

latest post: sumnone wrote: mbova is correct about the empty template being different. MVC4 is...

Order(MvcMusicStore.Models) is not selected when creating AddressAndPayment View

first post: 786basharat wrote: Under the directions on page 107-120 of pdf, I created CheckOutCo...

ShopppingCartViewMode class is NOT VISIBLE IN THE LIST OF MODEL CLASSES for Strongly typing to It

first post: 786basharat wrote: Under the directions on page 99-100 of pdf, when I tried to create...

Is it a Textual Mistake or there are two files with the Name Order.cs

first post: 786basharat wrote: One instruction is mentioned first time on page 89; “ Next, add an...

ShoppingCartModelView does not show up in Model Classes for Strongly typing to it

first post: 786basharat wrote: Kindly refer to the directions on page 99-100 of pdf When I try to...

ShoppingCartModelView does not show up in Model Classes for Strongly typing to it

first post: 786basharat wrote: Kindly refer to the directions on page 99-100 of pdf When I try to...

ShoppingCartModelView does not show up in Model Classes for Strongly typing to it

first post: 786basharat wrote: Kindly refer to the directions on page 99-100 of pdf When I try to...

Can't Associate ShoppingCartViewModel to the Shopping Cart Index page

first post: nicholastjohnson wrote: On page 99 of the pdf tutorial, it calls for creating a Shopping C...

latest post: 786basharat wrote: My problem also relates to this area. Under the directions on page...

Online demo

first post: bpesquet wrote: Hi, This context seems like a great use case to learn modern Web ...

latest post: filiq wrote: please check if you have all dependence installed for MVC 3. I am ...

Database Problem....

first post: shan8836 wrote: In MvcMusicStore-Assets folder,data is another folder where data fi...

latest post: filiq wrote: data file in database? please explain the problem better.

Error message in Part 8

first post: KenBool1982 wrote: I'm trying to get through part 8 of the MvcMusicStore. I've done a...

Site.css not taking effect in tutorial

first post: Nathe37216 wrote: I am working through the tutorial, and I just copied and pasted th...

latest post: NomanQ wrote: thanks for the post ! solved my mystery.

error @ part 10`

first post: noviankristianto wrote: i got an error at part 10 var cart = new ShoppingCart(); ...

JS error : ./ShoppingCart/AddToCart/

first post: Mouwali12 wrote: Dears, I followed all the tutorial. However, when I try to add to...

HTTPPost Variations

first post: HMcRyles wrote: I noticed that for the Create method in the StoreManager Controller...

latest post: raspunkle wrote: This due to how Method Overload works and how it is evaluated by de...

"The provider did not return a ProviderManifestToken string"

first post: ershyams wrote: I get the below error at var genres = storeDB.Genres.ToList<Genr...

How to do Payment process in MVC 4.0

first post: anil_bang0022 wrote: Hi , I have download code from here that is very helpful for me....

Using MVC Music Store with SQL Server 2008 (NOT Express)

first post: pjblecha wrote: Maybe I've missed it elsewhere, but I'm trying to get the MVC Musi...

latest post: whreed wrote: I was able to create this db with the code by adding this in my asa...

Is it possible to make a domain decimal field not required

first post: alexmc81 wrote: Hi, everyone, does anyone know how to make a domain field of type d...

latest post: alexmc81 wrote: Thanks for your advice Changed from decimal to nullable decimal, th...

TryUpdateModel(order) returning false

first post: mbova wrote: In the Checkout Controller I have the code [HttpPost] publ...

MVC Security with the MvcMusicStore Chapter 7

first post: mbova wrote: In chapter 7 I believed I followed all the directions Added the Co...

latest post: mbova wrote: So I had to add in the webconfig ``` ``` Because the ...

Chapter 4: Updating the Store Index to query the database

first post: Icarbajal2 wrote: Hello I have been following this exellent tutorial and I am now stu...

Chapter 5 ERROR : Add StoreManagerController

first post: mducrocq68 wrote: Solved it by an solution deliverd here in the forum: search for St...

latest post: mducrocq68 wrote: Hello Risi40, Noop does not work, I already solved it as I mention...

Unhappy with chapter 4...

first post: risi40 wrote: Hello I bought the book from Wrox to get more understanding about ...

latest post: risi40 wrote: Hello mducrocq68 Thank you very much for your prompt support! Fir...

I create a new project with different database, but I got stuck, someone with advance knowlege please explain it for me ....

first post: mrty85 wrote: http://www.mediafire.com/?4cgexqsi1dator8 this is my project, I ne...

Chapter 4 - no list of genres returned

first post: Yaggar wrote: Hello I don't know how to finish Chapter 4. When I finished part...

latest post: mducrocq68 wrote: Hello Yaggar, You must have made an typo error somewhere in part...

var album = new Album {Title= "Album"+ id }

first post: ershyams wrote: var album = new Album {Title= "Album"&#43; id } works instead of ...

latest post: jongalloway wrote: This is taking advantage of C# Object Initializer syntax. From MSD...

I get stuck at the end of Chapter 4

first post: sagegz wrote: Let me show my situation and thanks for your help. I have install ...

latest post: kjelltj wrote: Yes the smartest thing to do is download SQL server Compact 4.0. ...

Site.css does not give the expected style

first post: ershyams wrote: Site.css does not give the expected style. I downloaded the MVCMus...

latest post: ershyams wrote: Thanks It is working !! You rightly guessed it was a typo error

Wonderful Basic Tutorial

first post: sumitmehta wrote: Wonderful basic tutorial. I really enjoyed going through it. It is...

Chapter 3 Updating the Stylesheet...HELP HELP

first post: mducrocq68 wrote: Hi Everybody, In chapter 3 you have to update the stylesheet by ...

latest post: mducrocq68 wrote: Hi, Did you first select stop debugging otherwise you cannot chang...

Chapter 2 Controllers - StoreController

first post: mducrocq68 wrote: All right something doesn't goes as it should be..... After chan...

Chapter 3 Creating a Class in Models...HELP HELP

first post: mducrocq68 wrote: Hi All, I tried to create an Class in models by right clicking i...

latest post: 3v3rhart wrote: This may have been because you haven't closed debugging session. ...

Intellisense errors in Views\ShoppingCart\Index.cshtml

first post: Nathe37216 wrote: Although I have @model IEnumerable<MVCMusicStore.ViewModels.Shopp...

latest post: sagegz wrote: nutter99, thx!

Like others, Unable to achieve step 7 with Web Site Administration Tool

first post: BernardG wrote: Hello, I am both stuck and puzzled right now, as I don't have the ...

latest post: s17 wrote: Also interested in an MVC 4 update to this tutorial.

recordToDelete is null in RemoveLink using WIN8 VS2010 MVC3

first post: paultait wrote: I'm having trouble with the remove ajax method. Even though the aj...

App_Start/AppConfig.cs Re: SampleData and Account Creation

first post: 3v3rhart wrote: Error 1 The type or namespace name 'SampleData' does not exist in ...

WebMatrix.WebData, Version=2.0.0.0 v WebMatrix.WebData, Version=1.0.0.0

first post: 3v3rhart wrote: How do I make this stop? Error 2 Assembly 'Micro...

latest post: 3v3rhart wrote: You can specify a version number of in NuGet Package Manager Cons...

MVC 4 Account Login Steps - New project from 'Empty' template.

first post: 3v3rhart wrote: In an effort to work through a bit of difficulty I'm having with g...

Simple Membership, WebSecurity.InitializeDatabaseConnection

first post: 3v3rhart wrote: Setup for the questions below: The InitializeSimpleMembershipAttr...

latest post: jongalloway wrote: I recommend calling into the InitializeSimpleMembership filter as ...

Unable to connect to datasource through Web Site Administration tool

first post: tobbie wrote: Hi I have been following the tutorial up to page 83 of the pdf doc...

latest post: BernardG wrote: I just did what you suggest (add a DefaultConnection connectionStr...

'jQuery' is undefined

first post: TonyBromo wrote: Hello - I just downloaded this learning solution and decided to ru...

latest post: mickythompson wrote: The answer to this question for me was found at http://mvcmusicsto...

VS2012 & MVC 4 update?

first post: freejelly wrote: Will there be a VS2012 & MVC 4 update soon? This sample store seem...

latest post: h2o2go wrote: How do you get the tutorial for for this one?

Creating Music Store with VS2008 and SQL Server 2008 express

first post: DRM wrote: Hi, First of all thanks to Jon for providing this tutorial on cre...

latest post: habibayob wrote: Hi DRM I've gotten quite far with building the MVC Music Store in V...

Part 4 Models and Data Access - unhandled exception been thrown in Global.asax.cs

first post: x00076918 wrote: I've nearly completed part 4, gotten to the following part publ...

latest post: x00076918 wrote: The problem (for me) was caused by calling RegisterRoutes twice in ...

Music Store Tutorial, 4th Step / Error: Unable to find the requested .Net Framework Data Provider...

first post: 3v3rhart wrote: Having a hell of a time, for quite some time (literally months, a...

latest post: 3v3rhart wrote: Thank you Jon! I seemed to have eight or more other SQL items...

Unable to connect to datasource through Web Site Administration tool

first post: tobbie wrote: Hi I have been following the tutorial up to page 83 of the pdf doc...

RE: SQL Server Database issues post by charlie 303

first post: Bwill wrote: Jon, I have begun using your Music Store tutorial to get my feet w...

Inline video using HTML5 code

first post: agansr wrote: Greetings, I'm using Windows 7 Professional, ASP.NET MVC 4, and tr...

genres and artists are null - seeding does not seem to work

first post: hflaisher wrote: hello - I have followed the tutorial step by step, but these two...

latest post: hflaisher wrote: Thank you very much. I did install CE and I also used the iden...

Data Binding

first post: no1_melman wrote: Hi, How does the database know what fields to bind to? My Table:...

latest post: no1_melman wrote: Thank you very much for your reply, extremely helpful Thanks,

Pagination in storecontroller

first post: oluwatobiawe wrote: i have a large number of products and if i really dont apply pagin...

Getting error when trying to run project

first post: hungtv01116 wrote: I have followed the tutorial step by step, but these two are null ...

Partial 5 problem?

first post: AndyYou wrote: When i finished partial 5 tutorial. I discover http://f.cl.ly/ite...

latest post: AndyYou wrote: Sorry . I find solve article. http://mvcmusicstore.codeplex.com/dis...

[Bind(Exclude = "OrderId")]

first post: JCPuerto wrote: I have a question. I hope it can be answered here. In step 9, what...

latest post: JCPuerto wrote: Thanks for the quick answer! Have a great day!

Compilation error in Browse.cshtml file

first post: arefinsami wrote: I am trying to implement MvcMusicStore using, MS SQL Server 2008 p...

latest post: arefinsami wrote: Yup, i got the solution. There was missing of an assembly reference...

displaying contents from database

first post: vishal22 wrote: format of initialization string does not conform to specification ...

latest post: nutter99 wrote: Can you let us know where you are in the tutorial when you get this...

The entity types 'Artist' and 'OrderDetail' cannot share table 'OrderDetail' because they are not in the same type hierarchy or do not have a valid one to one foreign key relationship with matching primary keys between them.

first post: SDE2013 wrote: Hello, I received the following error. I tried to insert FK in Ord...

latest post: nutter99 wrote: Can you provide some of your models? I suspect thats where the prob...

DropDownList MVC MUSIC STORE

first post: Gedda wrote: Hello! Please, help me!. I need to make store like this, but genre...

Accessing the ASP.net Configuration site in VS 2012

first post: SlackerD wrote: Does anyone know how to access this in VS 2012 Express for the Web...

latest post: robeagle wrote: Click on any file in the solution explorer (except the solution its...

Error - Unable to find the requested .Net Framework Data Provider

first post: srya79 wrote: I have downloaded the MVC Music store application. When i opened t...

latest post: dlee1964 wrote: What is the connection string in your Web.config file?

Data Access

first post: dlee1964 wrote: After I get data access working, I'm trying to figure out somethin...

Cannot connect to Database

first post: SlackerD wrote: I am running into a roadblock here on the 7th step. How can...

latest post: martialdc wrote: that's my problem too, eventhough i'm using this connection string;...

ASP configuration site is not working

first post: Yashavantha wrote: I followed all the steps given in the tutorial.. but when i was do...

numeric validation and localisation

first post: turbofrontoffice wrote: Validation of the decimal Album.Price works fine as long as my Win...

The type or namespace name dbcontext cannot be found

first post: SlackerD wrote: I get these errors when running this in Debug. How can I fix this?...

@Model.Genre.Name

first post: zenmorke wrote: Hi, i`ve been following this tutorial which great btw, but i stuck...

latest post: bmarcotte wrote: @zenmorke Thanks, part 5 of that tutorial explained it nicely.

How to configure MvcMusicStore .Net WebApp with MySQL?

first post: mvegli wrote: I'm completely lost. I'm trying to setup the MvcMusicStore .Net a...

latest post: jongalloway wrote: Max, I haven't tried using MySQL with EF Code First. Some readers h...

Shortcut method of building a Code First project

first post: agansr wrote: To Jon Galloway, Jon I would like to express my appreciation for...

Partial success with validation context

first post: richardscannell wrote: By adding the following code into album.cs , you can validate betw...

'SqlException was unhandled by user code' error (pp 44-48, PDF tutorial)

first post: JasonBK wrote: Hello, I am making my way through the Music Store tutorial. I a...