<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>MVC Music Store</title><link>http://mvcmusicstore.codeplex.com/project/feeds/rss</link><description>MVC Music Store is a tutorial application built on ASP.NET MVC. It&amp;#39;s a lightweight sample store which demonstrates ASP.NET MVC using Entity Framework.</description><item><title>New Post: Online demo</title><link>http://mvcmusicstore.codeplex.com/discussions/437470</link><description>&lt;div style="line-height: normal;"&gt;please check if you have all dependence installed for MVC 3. &lt;br /&gt;
I am working on mvcmusicstore, when i finish i will upload it ! &lt;br /&gt;
&lt;/div&gt;</description><author>filiq</author><pubDate>Thu, 16 May 2013 11:58:34 GMT</pubDate><guid isPermaLink="false">New Post: Online demo 20130516115834A</guid></item><item><title>New Post: Database Problem....</title><link>http://mvcmusicstore.codeplex.com/discussions/440861</link><description>&lt;div style="line-height: normal;"&gt;data file in database?  please explain the problem better.&lt;br /&gt;
&lt;/div&gt;</description><author>filiq</author><pubDate>Thu, 16 May 2013 11:50:36 GMT</pubDate><guid isPermaLink="false">New Post: Database Problem.... 20130516115036A</guid></item><item><title>New Post: Error message in Part 8</title><link>http://mvcmusicstore.codeplex.com/discussions/443477</link><description>&lt;div style="line-height: normal;"&gt;I'm trying to get through part 8 of the MvcMusicStore.&lt;br /&gt;
&lt;br /&gt;
I've done all the required coding but when I click the 'Add To Cart' button, I get an error message:&lt;br /&gt;
&lt;br /&gt;
NullReferenceException was unhandled by user code&lt;br /&gt;
Object reference not set to an instance of an object.&lt;br /&gt;
&lt;br /&gt;
In the debugger it's saying the error is in index.cshtml (views\shoppingCart) line 53, col 6 ch 6.&lt;br /&gt;
&lt;br /&gt;
Seems to be having issues with the &amp;quot;@foreach (var item in Model.CartItems)&lt;br /&gt;
&lt;br /&gt;
Wondering if anyone can shed anylight on the situation.. have had a look at the completed code and it's exactly the same as what's in there.&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;br /&gt;
P.S. Error isn't in Part 10.. is in fact PART 8!!&lt;br /&gt;
&lt;/div&gt;</description><author>KenBool1982</author><pubDate>Mon, 13 May 2013 14:10:50 GMT</pubDate><guid isPermaLink="false">New Post: Error message in Part 8 20130513021050P</guid></item><item><title>New Post: Getting error when trying to add StoreManagerController</title><link>http://mvcmusicstore.codeplex.com/discussions/397409</link><description>&lt;div style="line-height: normal;"&gt;Hey guys, I'm experiencing a different error than everyone else. I have a feeling it has something to do with my version of SQL server installed.  It basically says the following:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;System.Data.Entity.Edm.EdmEntityType: : EntityType 'Album' has no key defined. Define the key for this EntityType.&lt;/strong&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;System.Data.Entity.Edm.EdmEntityType: EntityType: EntitySet 'Albums' is based on type 'Album' that has no keys defined.&lt;/strong&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;
So did I miss a step in the tutorial somewhere?&lt;br /&gt;
&lt;br /&gt;
I already tried all the other suggestions. It does seem to generate the MusicStoreDBContext connection string when trying to create the controller, even when throwing the error. So I delete the connection string and try again and get the same error as above.  Any ideas?&lt;br /&gt;
&lt;/div&gt;</description><author>chickenlips</author><pubDate>Thu, 09 May 2013 04:15:13 GMT</pubDate><guid isPermaLink="false">New Post: Getting error when trying to add StoreManagerController 20130509041513A</guid></item><item><title>New Post: Getting error when trying to add StoreManagerController</title><link>http://mvcmusicstore.codeplex.com/discussions/397409</link><description>&lt;div style="line-height: normal;"&gt;Unsupported Context Type Error when trying to add StoreManagerController. any help?&lt;br /&gt;
&lt;/div&gt;</description><author>ankit35</author><pubDate>Tue, 07 May 2013 12:22:05 GMT</pubDate><guid isPermaLink="false">New Post: Getting error when trying to add StoreManagerController 20130507122205P</guid></item><item><title>New Post: Getting error when trying to add StoreManagerController</title><link>http://mvcmusicstore.codeplex.com/discussions/397409</link><description>&lt;div style="line-height: normal;"&gt;I had a very similar issue while trying to create the StoreManagerController. The error I got was: &amp;quot;Unable to retrieve metadata for model object MvcMusicStore.Models.Album. Object reference not set to an instance of an object.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
What I noticed is that the following line in the web.config files wasn't properly resolved:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;entityFramework&amp;quot; type=&amp;quot;System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;quot; requirePermission=&amp;quot;false&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So I went ahead and re-installed the EntityFramework from the Package Manager Console by typing Install-Package EntityFramework, and that solved the problem.&lt;br /&gt;
&lt;br /&gt;
Note: I was following the Music Store tutorial with MVC 4.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
&lt;/div&gt;</description><author>payini</author><pubDate>Mon, 06 May 2013 21:52:25 GMT</pubDate><guid isPermaLink="false">New Post: Getting error when trying to add StoreManagerController 20130506095225P</guid></item><item><title>New Post: Site.css not taking effect in tutorial</title><link>http://mvcmusicstore.codeplex.com/discussions/392388</link><description>&lt;div style="line-height: normal;"&gt;thanks for the post ! solved my mystery. &lt;br /&gt;
&lt;/div&gt;</description><author>NomanQ</author><pubDate>Fri, 03 May 2013 01:24:03 GMT</pubDate><guid isPermaLink="false">New Post: Site.css not taking effect in tutorial 20130503012403A</guid></item><item><title>New Post: Getting error when trying to add StoreManagerController</title><link>http://mvcmusicstore.codeplex.com/discussions/397409</link><description>&lt;div style="line-height: normal;"&gt;its work for me.. &lt;br /&gt;
just delete &amp;lt;add name=&amp;quot;MusicStoreEntities&amp;quot; connectionString=&amp;quot;Data Source=|DataDirectory|MvcMusicStore.sdf&amp;quot; providerName=&amp;quot;System.Data.SqlServerCe.4.0&amp;quot; /&amp;gt; or make this become a comment, and you can make StoreManagerController.&lt;br /&gt;
&lt;/div&gt;</description><author>noviankristianto</author><pubDate>Wed, 01 May 2013 01:42:40 GMT</pubDate><guid isPermaLink="false">New Post: Getting error when trying to add StoreManagerController 20130501014240A</guid></item><item><title>Created Unassigned: Update Documentation for MVC project [6689]</title><link>http://mvcmusicstore.codeplex.com/workitem/6689</link><description>I&amp;#39;d like to ask the author of this fine project to take a few minutes and incorporate answers to the dozens of valid issues that have been posted here, and in comments to the project building instructions.&lt;br /&gt;&lt;br /&gt;As a couple of examples, pointing out that JQuery library version may need to be changed from original downloaded project, and example connection strings to SQL Server database &amp;#40; vs CE. &amp;#41;&lt;br /&gt;&lt;br /&gt;These questions have been answered &amp;#40;many times&amp;#41; in the comments, but a quick edit within the article would save frustration to the readers of this otherwise well written article.&lt;br /&gt;&lt;br /&gt;</description><author>RajGuptaWa</author><pubDate>Tue, 30 Apr 2013 16:38:14 GMT</pubDate><guid isPermaLink="false">Created Unassigned: Update Documentation for MVC project [6689] 20130430043814P</guid></item><item><title>New Post: error @ part 10`</title><link>http://mvcmusicstore.codeplex.com/discussions/442060</link><description>&lt;div style="line-height: normal;"&gt;i got an error at part 10&lt;br /&gt;
&lt;br /&gt;
var cart = new ShoppingCart();&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;        cart.ShoppingCartId = cart.__GetCartId__(context);
        return cart;

&lt;/code&gt;&lt;/pre&gt;

&lt;strong&gt;GetCartId&lt;/strong&gt; is error, how can i solve this error???&lt;br /&gt;
thanks&lt;br /&gt;
&lt;/div&gt;</description><author>noviankristianto</author><pubDate>Tue, 30 Apr 2013 10:38:56 GMT</pubDate><guid isPermaLink="false">New Post: error @ part 10` 20130430103856A</guid></item><item><title>Commented Issue: Unable to Update Album [6648]</title><link>http://mvcmusicstore.codeplex.com/workitem/6648</link><description>If you try and update an album, you get a concurrency error. For all albums, regardless of whether they are the pre-seeded albums or ones that you add yourself.&lt;br /&gt;Comments: &amp;#10;Monkimo&amp;#39;s solution that worked for me was to simply remove  __&amp;#91;Bind&amp;#40;Exclude &amp;#61; &amp;#34;AlbumId&amp;#34;&amp;#41;&amp;#93;__  in Album class. &amp;#10;&amp;#10;To Jon,&amp;#10;&amp;#10;Yes, this is the current version of your app, as of April 2013 that still has bug on edit. Obviously, not a lot of testing done here... but since you are letting your users test , you should at least address &amp;#47; correct the bugs you find. &amp;#10;&amp;#10;I dont expect comments to offer  explanation of why the  &amp;#91;Bind&amp;#40;Exclude &amp;#61; &amp;#34;AlbumId&amp;#34;&amp;#41;&amp;#93; was included in the first place. But you could&amp;#47;should.&amp;#10;&amp;#10;The assumption is that a tutorial works.  Maybe your approach is to add a lot of bugs, and let users hone their debugging skills. If that is your approach, fine - a word of warning would have saved a lot of people wasted hours. </description><author>RajGuptaWa</author><pubDate>Mon, 29 Apr 2013 17:45:11 GMT</pubDate><guid isPermaLink="false">Commented Issue: Unable to Update Album [6648] 20130429054511P</guid></item><item><title>Commented Issue: Account/Login instead of Account/LogOn [6674]</title><link>http://mvcmusicstore.codeplex.com/workitem/6674</link><description>Hi,&lt;br /&gt;&lt;br /&gt;After creating the Administrator user &amp;#40;Page No 86-86&amp;#41; and applying the &amp;#91;Authorize&amp;#93; attribtue, when I browse to &amp;#47;StoreManager I get a Account&amp;#47;Login in the address bar of the browser instead of Account&amp;#47;LogOn.&lt;br /&gt;&lt;br /&gt;Googling the above issue gives many solutions. For me adding a &lt;br /&gt;&amp;#60;add key&amp;#61;&amp;#34;enableSimpleMembership&amp;#34; value &amp;#61;&amp;#34;false&amp;#34;&amp;#62; under appSettings in web.config  worked.&lt;br /&gt;&lt;br /&gt;Comments: This worked for me as well - thanks very much for posting this at Codeplex.&amp;#10;&amp;#10;I have to say I am quite ambivalent about the MVC music store. The concept and scope of this example is excellent. For the most part the instructions are clear, if a bit verbose. However the implementation leaves much to be desivered. The examples are full of errors. The author has not bothered to respond to the many &amp;#40;legitimate&amp;#41; questions regarding his code. See the dozens of comments on each page. Some of them are legitimate.&amp;#10;&amp;#10;This is declared as a &amp;#34;simple&amp;#34; application. And it is. However, if it is so simple , why did the author make so many mistakes. &amp;#10;&amp;#10;An example like this is worth doing. If it is worth doing, it is worth doing well. I give an &amp;#34;A&amp;#34; for concept and design, and an &amp;#34;D-&amp;#34; for implementation and support.</description><author>RajGuptaWa</author><pubDate>Mon, 29 Apr 2013 16:24:39 GMT</pubDate><guid isPermaLink="false">Commented Issue: Account/Login instead of Account/LogOn [6674] 20130429042439P</guid></item><item><title>Commented Issue: Microsoft JScript runtime error: '$' is undefined [6656]</title><link>http://mvcmusicstore.codeplex.com/workitem/6656</link><description>I run the application.&lt;br /&gt;&lt;br /&gt;On the main page I click &amp;#39;Balls to the Walls&amp;#39; &amp;#40;a product&amp;#41;.&lt;br /&gt;&lt;br /&gt;On the product&amp;#39;s view I click &amp;#39;Add to cart&amp;#39;&lt;br /&gt;&lt;br /&gt;Visual Studio catches this error &amp;#58;&lt;br /&gt;&lt;br /&gt;Microsoft JScript runtime error&amp;#58; &amp;#39;&amp;#36;&amp;#39; is undefined&lt;br /&gt;&lt;br /&gt;This section of code is highlighted&lt;br /&gt;&lt;br /&gt;    &amp;#36;&amp;#40;function &amp;#40;&amp;#41; &amp;#123;&lt;br /&gt;        &amp;#47;&amp;#47; Document.ready -&amp;#62; link up remove event handler&lt;br /&gt;        &amp;#36;&amp;#40;&amp;#34;.RemoveLink&amp;#34;&amp;#41;.click&amp;#40;function &amp;#40;&amp;#41; &amp;#123;&lt;br /&gt;            &amp;#47;&amp;#47; Get the id from the link&lt;br /&gt;            var recordToDelete &amp;#61; &amp;#36;&amp;#40;this&amp;#41;.attr&amp;#40;&amp;#34;data-id&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            if &amp;#40;recordToDelete &amp;#33;&amp;#61; &amp;#39;&amp;#39;&amp;#41; &amp;#123;&lt;br /&gt;&lt;br /&gt;                &amp;#47;&amp;#47; Perform the ajax post&lt;br /&gt;                &amp;#36;.post&amp;#40;&amp;#34;&amp;#47;ShoppingCart&amp;#47;RemoveFromCart&amp;#34;, &amp;#123; &amp;#34;id&amp;#34;&amp;#58; recordToDelete &amp;#125;,&lt;br /&gt;                    function &amp;#40;data&amp;#41; &amp;#123;&lt;br /&gt;                        &amp;#47;&amp;#47; Successful requests get here&lt;br /&gt;                        &amp;#47;&amp;#47; Update the page elements&lt;br /&gt;                        if &amp;#40;data.ItemCount &amp;#61;&amp;#61; 0&amp;#41; &amp;#123;&lt;br /&gt;                            &amp;#36;&amp;#40;&amp;#39;&amp;#35;row-&amp;#39; &amp;#43; data.DeleteId&amp;#41;.fadeOut&amp;#40;&amp;#39;slow&amp;#39;&amp;#41;&amp;#59;&lt;br /&gt;                        &amp;#125; else &amp;#123;&lt;br /&gt;                            &amp;#36;&amp;#40;&amp;#39;&amp;#35;item-count-&amp;#39; &amp;#43; data.DeleteId&amp;#41;.text&amp;#40;data.ItemCount&amp;#41;&amp;#59;&lt;br /&gt;                        &amp;#125;&lt;br /&gt;&lt;br /&gt;                        &amp;#36;&amp;#40;&amp;#39;&amp;#35;cart-total&amp;#39;&amp;#41;.text&amp;#40;data.CartTotal&amp;#41;&amp;#59;&lt;br /&gt;                        &amp;#36;&amp;#40;&amp;#39;&amp;#35;update-message&amp;#39;&amp;#41;.text&amp;#40;data.Message&amp;#41;&amp;#59;&lt;br /&gt;                        &amp;#36;&amp;#40;&amp;#39;&amp;#35;cart-status&amp;#39;&amp;#41;.text&amp;#40;&amp;#39;Cart &amp;#40;&amp;#39; &amp;#43; data.CartCount &amp;#43; &amp;#39;&amp;#41;&amp;#39;&amp;#41;&amp;#59;&lt;br /&gt;                    &amp;#125;&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;    &amp;#125;&amp;#41;&amp;#59;&lt;br /&gt;Comments: This worked. I&amp;#39;d suggest that Author take the time to update the original article. This is a popular full-featured example of MVC. Judging by the comments, lots of people are left twisting in the wind.</description><author>RajGuptaWa</author><pubDate>Mon, 29 Apr 2013 16:14:03 GMT</pubDate><guid isPermaLink="false">Commented Issue: Microsoft JScript runtime error: '$' is undefined [6656] 20130429041403P</guid></item><item><title>New Post: Getting error when trying to add StoreManagerController</title><link>http://mvcmusicstore.codeplex.com/discussions/397409</link><description>&lt;div style="line-height: normal;"&gt;&lt;strong&gt;bjthomps wrote:&lt;/strong&gt;&lt;br /&gt;
&lt;blockquote&gt;
OK - I am not sure why this is, but I found a workaround for this issue and I thought I would post it for you mnlia in case you are still having trouble. Go to your web.config file and locate the following line of code that you added in one of the earlier tutorial steps:&amp;nbsp;  &amp;lt;add name=&amp;quot;MusicStoreEntities&amp;quot; connectionString=&amp;quot;Data Source=|DataDirectory|MvcMusicStore.sdf&amp;quot; providerName=&amp;quot;System.Data.SqlServerCe.4.0&amp;quot;  /&amp;gt;&amp;nbsp;  Delete it or comment it out and build the project&amp;nbsp;- then create the StoreManagerController and it should work without issue.&amp;nbsp; Once the controller and all the associated files have been created, then you can add your connection string back to the web.config file.&amp;nbsp; I am not sure why this connection string existing is causing this error, but this will allow you to finish the tutorial. &amp;nbsp;&lt;br /&gt;
&lt;/blockquote&gt;
Yes! It's works!!!&lt;br /&gt;
&lt;/div&gt;</description><author>artmakarenko</author><pubDate>Fri, 26 Apr 2013 09:09:18 GMT</pubDate><guid isPermaLink="false">New Post: Getting error when trying to add StoreManagerController 20130426090918A</guid></item><item><title>New Post: The connection name 'DefaultConnection' was not found in the applications configuration or the connection string is empty. </title><link>http://mvcmusicstore.codeplex.com/discussions/405449</link><description>&lt;div style="line-height: normal;"&gt;Hi.&lt;br /&gt;
I added the new 'add' tag but I'm having exactly the same issue. What do I need to do to fix this? Thank you.&lt;br /&gt;
&lt;/div&gt;</description><author>PacoKiLi</author><pubDate>Thu, 25 Apr 2013 22:04:03 GMT</pubDate><guid isPermaLink="false">New Post: The connection name 'DefaultConnection' was not found in the applications configuration or the connection string is empty.  20130425100403P</guid></item><item><title>New Post: JS error : ./ShoppingCart/AddToCart/</title><link>http://mvcmusicstore.codeplex.com/discussions/441280</link><description>&lt;div style="line-height: normal;"&gt;Dears,&lt;br /&gt;
&lt;br /&gt;
I followed all the tutorial. However, when I try to add to cart; i get the following error :&lt;br /&gt;
&lt;blockquote&gt;
Unhandled exception at line 48, column 5 in http://localhost:xxxxx/ShoppingCart/AddToCart/x&lt;br /&gt;
&lt;/blockquote&gt;
0x800a1391 - Erreur d’exécution JavaScript: « $ » est indéfini&lt;br /&gt;
&lt;/div&gt;</description><author>Mouwali12</author><pubDate>Tue, 23 Apr 2013 11:55:41 GMT</pubDate><guid isPermaLink="false">New Post: JS error : ./ShoppingCart/AddToCart/ 20130423115541A</guid></item><item><title>New Post: Getting error when trying to add StoreManagerController</title><link>http://mvcmusicstore.codeplex.com/discussions/397409</link><description>&lt;div style="line-height: normal;"&gt;Doesn't work for me unfortunately. After commenting out the DB Connection string, I receive the following message:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Could not load type 'MyMusicStore.Models.Album' from assembly [...]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Anyone else having this issue?&lt;br /&gt;
&lt;br /&gt;
Also does anybody know the reasons for these two problems?&lt;br /&gt;
&lt;br /&gt;
I'll just try continuing without the scaffolding...&lt;br /&gt;
&lt;/div&gt;</description><author>FelixM</author><pubDate>Sat, 20 Apr 2013 23:28:05 GMT</pubDate><guid isPermaLink="false">New Post: Getting error when trying to add StoreManagerController 20130420112805P</guid></item><item><title>New Post: Getting error when trying to add StoreManagerController</title><link>http://mvcmusicstore.codeplex.com/discussions/397409</link><description>&lt;div style="line-height: normal;"&gt;Funciona mesmo!!!&lt;br /&gt;
&lt;br /&gt;
Really works!!!&lt;br /&gt;
&lt;/div&gt;</description><author>seuparada</author><pubDate>Fri, 19 Apr 2013 13:35:26 GMT</pubDate><guid isPermaLink="false">New Post: Getting error when trying to add StoreManagerController 20130419013526P</guid></item><item><title>New Post: Database Problem....</title><link>http://mvcmusicstore.codeplex.com/discussions/440861</link><description>&lt;div style="line-height: normal;"&gt;In MvcMusicStore-Assets folder,data is another folder where data file are present.but i can not attach that data file in my database.That's why i can not use edit albums in admin section.&lt;br /&gt;
How can I solve this?&lt;br /&gt;
&lt;/div&gt;</description><author>shan8836</author><pubDate>Fri, 19 Apr 2013 06:54:51 GMT</pubDate><guid isPermaLink="false">New Post: Database Problem.... 20130419065451A</guid></item><item><title>Reviewed: MVC Music Store v3.0b (kwi 10, 2013)</title><link>https://mvcmusicstore.codeplex.com/releases/view/64379#ReviewBy-TheSerg</link><description>Rated 4 Stars &amp;#40;out of 5&amp;#41; - Could someone send me working project without error please. I will be greatly appreciated for your help. </description><author>TheSerg</author><pubDate>Wed, 10 Apr 2013 19:28:50 GMT</pubDate><guid isPermaLink="false">Reviewed: MVC Music Store v3.0b (kwi 10, 2013) 20130410072850P</guid></item></channel></rss>