<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>mvcmusicstore Issue Tracker Rss Feed</title><link>http://mvcmusicstore.codeplex.com/workitem/list/basic</link><description>mvcmusicstore Issue Tracker Rss Description</description><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>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>Created Issue: Sequence contains no elements [6688]</title><link>http://mvcmusicstore.codeplex.com/workitem/6688</link><description>  var genreModel &amp;#61; storeDB.Genres.Include&amp;#40;&amp;#34;Albums&amp;#34;&amp;#41;&lt;br /&gt;.Single&amp;#40;g &amp;#61;&amp;#62; g.Name &amp;#61;&amp;#61; genre&amp;#41;&amp;#59;&lt;br /&gt;return View&amp;#40;genreModel&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I am getting error message &amp;#39;Sequence contains no elements&amp;#39;&lt;br /&gt;What am I missing here&amp;#63;&lt;br /&gt;</description><author>ouzy750867</author><pubDate>Sun, 31 Mar 2013 02:28:27 GMT</pubDate><guid isPermaLink="false">Created Issue: Sequence contains no elements [6688] 20130331022827A</guid></item><item><title>Created Issue: Password requires symbol [6687]</title><link>http://mvcmusicstore.codeplex.com/workitem/6687</link><description>&lt;br /&gt;When I try to register a new account the password field only gets validated if I insert a symbol in it, like &amp;#63;&amp;#161; &lt;br /&gt;Where can I change this behaviour&amp;#63;&lt;br /&gt;</description><author>jjcv2304</author><pubDate>Wed, 27 Mar 2013 08:50:46 GMT</pubDate><guid isPermaLink="false">Created Issue: Password requires symbol [6687] 20130327085046A</guid></item><item><title>Created Issue: Bad jQuery reference [6686]</title><link>http://mvcmusicstore.codeplex.com/workitem/6686</link><description>Layout view has a reference to __jquery-1.4.4.min.js__ but the correct versi&amp;#243;n dsitributed with the solution is __jquery-1.5.1__, so users must change it.&lt;br /&gt;</description><author>santypr</author><pubDate>Thu, 28 Feb 2013 22:25:33 GMT</pubDate><guid isPermaLink="false">Created Issue: Bad jQuery reference [6686] 20130228102533P</guid></item><item><title>Commented Issue: Error creating StoreManagerController class (VS 2012) [6685]</title><link>http://mvcmusicstore.codeplex.com/workitem/6685</link><description>I get the following error when beginning step 2 of the tutorial &amp;#40;adding Store Manager Controller&amp;#41;, &amp;#34;Unable to retrieve metadata for &amp;#39;MvcMusicStore.Models.Album&amp;#39;. Using the same DbCompiledModel to create contexts against different types of database servers is not supported. Instead, create a separate DbCompiledModel for each type of server being used.&amp;#34;&lt;br /&gt;&lt;br /&gt;Doing a few quick searches it appears some issue related to Visual Studio 2012 and Microsoft SQL Server Compact 4.0.&lt;br /&gt;&lt;br /&gt;Anyone know how to get this working&amp;#63;&lt;br /&gt;Comments: Found a work around at&amp;#58;&amp;#10;&amp;#10;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;12323307&amp;#47;error-when-creating-a-controller-in-visual-studio-2012&amp;#10;&amp;#10;You can temporarily remove the connection string from your web.config file&amp;#58;&amp;#10;&amp;#10;&amp;#60;add name&amp;#61;&amp;#34;MusicStoreEntities&amp;#34; connectionString&amp;#61;&amp;#34;DataSource&amp;#61;&amp;#124;DataDirectory&amp;#124;MvcMusicStore.sdf&amp;#34; providerName&amp;#61;&amp;#34;System.Data.SqlServerCe.4.0&amp;#34;&amp;#47;&amp;#62;&amp;#10;&amp;#10;save it, and then create the StoreManagerController with EF scaffolding.  It will then create the class and all of the views associated with it.  Then paste the connection string back into the web config file.  It worked&amp;#33;&amp;#10;&amp;#10;So far, no issues.</description><author>wraybp</author><pubDate>Wed, 12 Dec 2012 12:59:29 GMT</pubDate><guid isPermaLink="false">Commented Issue: Error creating StoreManagerController class (VS 2012) [6685] 20121212125929P</guid></item><item><title>Commented Issue: Error creating StoreManagerController class (VS 2012) [6685]</title><link>http://mvcmusicstore.codeplex.com/workitem/6685</link><description>I get the following error when beginning step 2 of the tutorial &amp;#40;adding Store Manager Controller&amp;#41;, &amp;#34;Unable to retrieve metadata for &amp;#39;MvcMusicStore.Models.Album&amp;#39;. Using the same DbCompiledModel to create contexts against different types of database servers is not supported. Instead, create a separate DbCompiledModel for each type of server being used.&amp;#34;&lt;br /&gt;&lt;br /&gt;Doing a few quick searches it appears some issue related to Visual Studio 2012 and Microsoft SQL Server Compact 4.0.&lt;br /&gt;&lt;br /&gt;Anyone know how to get this working&amp;#63;&lt;br /&gt;Comments: I&amp;#39;m having the same issue.</description><author>wraybp</author><pubDate>Tue, 11 Dec 2012 20:57:47 GMT</pubDate><guid isPermaLink="false">Commented Issue: Error creating StoreManagerController class (VS 2012) [6685] 20121211085747P</guid></item><item><title>Created Issue: Error creating StoreManagerController class (VS 2012) [6685]</title><link>http://mvcmusicstore.codeplex.com/workitem/6685</link><description>I get the following error when beginning step 2 of the tutorial &amp;#40;adding Store Manager Controller&amp;#41;, &amp;#34;Unable to retrieve metadata for &amp;#39;MvcMusicStore.Models.Album&amp;#39;. Using the same DbCompiledModel to create contexts against different types of database servers is not supported. Instead, create a separate DbCompiledModel for each type of server being used.&amp;#34;&lt;br /&gt;&lt;br /&gt;Doing a few quick searches it appears some issue related to Visual Studio 2012 and Microsoft SQL Server Compact 4.0.&lt;br /&gt;&lt;br /&gt;Anyone know how to get this working&amp;#63;&lt;br /&gt;</description><author>bholmes76</author><pubDate>Mon, 15 Oct 2012 19:43:52 GMT</pubDate><guid isPermaLink="false">Created Issue: Error creating StoreManagerController class (VS 2012) [6685] 20121015074352P</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: Perfect solution&amp;#33; &amp;#10;In my case it was not version 1.5.1., but the newer 1.6.2 that was available, where the _Latuout referred to the older 1.5.1 version.&amp;#10;Thanks a lot, this saves me a couple of hours deep-thinking &amp;#59;-&amp;#41;</description><author>PeterKlein</author><pubDate>Mon, 08 Oct 2012 13:58:55 GMT</pubDate><guid isPermaLink="false">Commented Issue: Microsoft JScript runtime error: '$' is undefined [6656] 20121008015855P</guid></item><item><title>Commented Issue: Edit post action should take ID [6663]</title><link>http://mvcmusicstore.codeplex.com/workitem/6663</link><description>Add the index of the album to be edited as the second parameter to this function.&lt;br /&gt;&lt;br /&gt;        &amp;#91;HttpPost&amp;#93;        public ActionResult Edit&amp;#40;Album album, int id&amp;#41;        &amp;#123;            if &amp;#40;ModelState.IsValid&amp;#41;            &amp;#123;                album.AlbumId &amp;#61; id&amp;#59;                db.Entry&amp;#40;album&amp;#41;.State &amp;#61; EntityState.Modified&amp;#59;                db.SaveChanges&amp;#40;&amp;#41;&amp;#59;                return RedirectToAction&amp;#40;&amp;#34;Index&amp;#34;&amp;#41;&amp;#59;            &amp;#125;            ViewBag.GenreId &amp;#61; new SelectList&amp;#40;db.Genres, &amp;#34;GenreId&amp;#34;, &amp;#34;Name&amp;#34;, album.GenreId&amp;#41;&amp;#59;            ViewBag.ArtistId &amp;#61; new SelectList&amp;#40;db.Artists, &amp;#34;ArtistId&amp;#34;, &amp;#34;Name&amp;#34;, album.ArtistId&amp;#41;&amp;#59;            return View&amp;#40;album&amp;#41;&amp;#59;        &amp;#125;&lt;br /&gt;&lt;br /&gt;Read the &lt;br /&gt;full discussion online.&lt;br /&gt;To add a post to this discussion, reply to this email &amp;#40;mvcmusicstore&amp;#64;discussions.codeplex.com&amp;#41;&lt;br /&gt;To start a new discussion for this project, email &lt;br /&gt;mvcmusicstore&amp;#64;discussions.codeplex.com&lt;br /&gt;You are receiving this email because you subscribed to this discussion on CodePlex. You can&lt;br /&gt;&lt;br /&gt;unsubscribe or change your settings on codePlex.com.&lt;br /&gt;Please note&amp;#58; Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com&lt;br /&gt;Comments: same here, thanks for the help, i did wonder if it was the missing id, just spent 2 hrs &amp;#34;debugging&amp;#34; this</description><author>nutter99</author><pubDate>Wed, 12 Sep 2012 14:17:37 GMT</pubDate><guid isPermaLink="false">Commented Issue: Edit post action should take ID [6663] 20120912021737P</guid></item><item><title>Commented Issue: Unhandled exception  [6684]</title><link>http://mvcmusicstore.codeplex.com/workitem/6684</link><description>I got this error message&amp;#58;&amp;#64; &amp;#34;Server error in &amp;#39;&amp;#47;&amp;#39; Application&amp;#34; on the part 5, during the Modifying a Scaffolded View&lt;br /&gt;&lt;br /&gt;It says&amp;#58; Unhandled exception occurred during the execution of the current web request.&lt;br /&gt;&lt;br /&gt;&amp;#91;InvalidOperationException&amp;#58; The model item passed into the dictionary is of type &amp;#39;System.Collections.Generic.List&amp;#96;1&amp;#91;MvcMusicStore.Models.Artist&amp;#93;&amp;#39;, but this dictionary requires a model item of type &amp;#39;System.Collections.Generic.IEnumerable&amp;#96;1&amp;#91;MvcMusicStore.Models.Album&amp;#93;&amp;#39;.&amp;#93;&lt;br /&gt;   System.Web.Mvc.ViewDataDictionary&amp;#96;1.SetModel&amp;#40;Object value&amp;#41; &amp;#43;378&lt;br /&gt;&lt;br /&gt;These are the 2 first lanes, im using MVisual Studio 2012&lt;br /&gt;&lt;br /&gt;Comments: I find my problem, i made my StoreManagerController with model class Artist, but now, i tried deleting the last StoreManagerController and do a new one with the same name but with model class Album, but know it says &amp;#58;&amp;#10;&amp;#10;The model backing the &amp;#39;Models_&amp;#39; context has changed since the database was created. Consider using Code First Migrations to update the database &amp;#40;http&amp;#58;&amp;#47;&amp;#47;go.microsoft.com&amp;#47;fwlink&amp;#47;&amp;#63;LinkId&amp;#61;238269&amp;#41;.&amp;#10;&amp;#10;</description><author>erick_az</author><pubDate>Tue, 11 Sep 2012 18:52:00 GMT</pubDate><guid isPermaLink="false">Commented Issue: Unhandled exception  [6684] 20120911065200P</guid></item><item><title>Created Issue: Unhandled exception  [6684]</title><link>http://mvcmusicstore.codeplex.com/workitem/6684</link><description>I got this error message&amp;#58;&amp;#64; &amp;#34;Server error in &amp;#39;&amp;#47;&amp;#39; Application&amp;#34; on the part 5, during the Modifying a Scaffolded View&lt;br /&gt;&lt;br /&gt;It says&amp;#58; Unhandled exception occurred during the execution of the current web request.&lt;br /&gt;&lt;br /&gt;&amp;#91;InvalidOperationException&amp;#58; The model item passed into the dictionary is of type &amp;#39;System.Collections.Generic.List&amp;#96;1&amp;#91;MvcMusicStore.Models.Artist&amp;#93;&amp;#39;, but this dictionary requires a model item of type &amp;#39;System.Collections.Generic.IEnumerable&amp;#96;1&amp;#91;MvcMusicStore.Models.Album&amp;#93;&amp;#39;.&amp;#93;&lt;br /&gt;   System.Web.Mvc.ViewDataDictionary&amp;#96;1.SetModel&amp;#40;Object value&amp;#41; &amp;#43;378&lt;br /&gt;&lt;br /&gt;These are the 2 first lanes, im using MVisual Studio 2012&lt;br /&gt;&lt;br /&gt;</description><author>erick_az</author><pubDate>Tue, 11 Sep 2012 18:39:14 GMT</pubDate><guid isPermaLink="false">Created Issue: Unhandled exception  [6684] 20120911063914P</guid></item><item><title>Created Issue: wrong version of jquery referenced in the completed sample [6683]</title><link>http://mvcmusicstore.codeplex.com/workitem/6683</link><description>I just tried to do the MvcMusicStore sample and I tried to use a completed sample, which breaks when you try to add an album to a cart. Further investigation has shown that file &amp;#34;MvcMusicStore-v3.0&amp;#92;MvcMusicStore-Completed&amp;#92;MvcMusicStore&amp;#92;Views&amp;#92;ShoppingCart&amp;#92;Index.cshtml&amp;#34; contains &amp;#60;script&amp;#62; reference to jquery of version 1.4.4 but jquery 1.5.1 is included in the sample, so this reference in this file should be updated to 1.5.1&lt;br /&gt;</description><author>pgklada</author><pubDate>Sun, 26 Aug 2012 15:55:50 GMT</pubDate><guid isPermaLink="false">Created Issue: wrong version of jquery referenced in the completed sample [6683] 20120826035550P</guid></item><item><title>Commented Issue: Wrong Connectionstring name in tutorial [6644]</title><link>http://mvcmusicstore.codeplex.com/workitem/6644</link><description>In the tutorial &amp;#40;v3.0, page 46&amp;#41; is the name for the connectionstring &amp;#34;MovieDBContext&amp;#34;.&lt;br /&gt;This should be MusicStoreEntities then the right database is creaded &amp;#47; used.&lt;br /&gt;Comments: FYI...I struggled with the connection string quite a bit, building&amp;#47;debugging after each change.  When I changed the name of the connection string to &amp;#34;MusicDBContext&amp;#34;, it finally worked.  I can&amp;#39;t explain why this made a difference because.  I have searched for another reference to this name in my entire solution and found none.  Here is my connection string&amp;#58;&amp;#10;&amp;#10;&amp;#60;connectionStrings&amp;#62;&amp;#10;    &amp;#60;add name&amp;#61;&amp;#34;MusicDBContext&amp;#34;&amp;#10;     connectionString&amp;#61;&amp;#34;Data Source&amp;#61;.&amp;#92;SQLEXPRESS&amp;#59;Integrated Security&amp;#61;SSPI&amp;#59;AttachDBFilename&amp;#61;&amp;#124;DataDirectory&amp;#124;MvcMusicStore.mdf&amp;#34;&amp;#10;     providerName&amp;#61;&amp;#34;System.Data.SQLClient&amp;#34;&amp;#47;&amp;#62;&amp;#10;  &amp;#60;&amp;#47;connectionStrings&amp;#62;</description><author>hlcole</author><pubDate>Thu, 16 Aug 2012 19:40:46 GMT</pubDate><guid isPermaLink="false">Commented Issue: Wrong Connectionstring name in tutorial [6644] 20120816074046P</guid></item><item><title>Created Issue: RegisterModel password validation should enforce minimum length of 7 [6682]</title><link>http://mvcmusicstore.codeplex.com/workitem/6682</link><description>By default the membership provider enforces a minimum length of 7 &amp;#40;minRequiredPasswordLength &amp;#61; 7&amp;#41;&lt;br /&gt;&lt;br /&gt;--8&amp;#60;--machine.config--&lt;br /&gt;  &amp;#60;membership&amp;#62;&lt;br /&gt;            &amp;#60;providers&amp;#62;&lt;br /&gt;                &amp;#60;add name&amp;#61;&amp;#34;AspNetSqlMembershipProvider&amp;#34; type&amp;#61;&amp;#34;System.Web.Security.SqlMembershipProvider, System.Web, Version&amp;#61;4.0.0.0, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;b03f5f7f11d50a3a&amp;#34; connectionStringName&amp;#61;&amp;#34;LocalSqlServer&amp;#34; enablePasswordRetrieval&amp;#61;&amp;#34;false&amp;#34; enablePasswordReset&amp;#61;&amp;#34;true&amp;#34; requiresQuestionAndAnswer&amp;#61;&amp;#34;true&amp;#34; applicationName&amp;#61;&amp;#34;&amp;#47;&amp;#34; requiresUniqueEmail&amp;#61;&amp;#34;false&amp;#34; passwordFormat&amp;#61;&amp;#34;Hashed&amp;#34; maxInvalidPasswordAttempts&amp;#61;&amp;#34;5&amp;#34; minRequiredPasswordLength&amp;#61;&amp;#34;7&amp;#34; minRequiredNonalphanumericCharacters&amp;#61;&amp;#34;1&amp;#34; passwordAttemptWindow&amp;#61;&amp;#34;10&amp;#34; passwordStrengthRegularExpression&amp;#61;&amp;#34;&amp;#34;&amp;#47;&amp;#62;&lt;br /&gt;            &amp;#60;&amp;#47;providers&amp;#62;&lt;br /&gt;        &amp;#60;&amp;#47;membership&amp;#62;&lt;br /&gt;--&amp;#62;8--&lt;br /&gt;&lt;br /&gt;RegisterModel however specifies a string length of 6&lt;br /&gt;&lt;br /&gt;--8&amp;#60;--MvcMusicStore-v3.0&amp;#92;MvcMusicStore-Completed&amp;#92;MvcMusicStore&amp;#92;Models&amp;#92;AccountModels.cs--&lt;br /&gt;        &amp;#91;Required&amp;#93;&lt;br /&gt;        &amp;#91;StringLength&amp;#40;100, ErrorMessage &amp;#61; &amp;#34;The &amp;#123;0&amp;#125; must be at least &amp;#123;2&amp;#125; characters long.&amp;#34;, MinimumLength &amp;#61; 6&amp;#41;&amp;#93;&lt;br /&gt;        &amp;#91;DataType&amp;#40;DataType.Password&amp;#41;&amp;#93;&lt;br /&gt;        &amp;#91;Display&amp;#40;Name &amp;#61; &amp;#34;Password&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;        public string Password &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;--&amp;#62;8--&lt;br /&gt;&lt;br /&gt;MinimumLength value should be 7&lt;br /&gt;&lt;br /&gt;Version used&amp;#58; 3.0&lt;br /&gt;</description><author>janv</author><pubDate>Wed, 08 Aug 2012 16:48:03 GMT</pubDate><guid isPermaLink="false">Created Issue: RegisterModel password validation should enforce minimum length of 7 [6682] 20120808044803P</guid></item><item><title>Edited Issue: Tutorial 3.0b "not working" properly [6681]</title><link>http://mvcmusicstore.codeplex.com/workitem/6681</link><description>1- There is no steps to copy Checkout controllers &amp;#38; views. &amp;#40;Pretty much everything about checkout is a mess&amp;#41;&lt;br /&gt;&lt;br /&gt;2- Page 100-104 &amp;#58; The tutorial need the following StoreController modification to work sucessful&amp;#58;&lt;br /&gt;&lt;br /&gt;    public ActionResult Details&amp;#40;int id&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;      var album &amp;#61; storeDB.Albums.Include&amp;#40;&amp;#34;Genre&amp;#34;&amp;#41;.Include&amp;#40;&amp;#34;Artist&amp;#34;&amp;#41;.Single&amp;#40;g&amp;#61;&amp;#62; g.AlbumId &amp;#61;&amp;#61; id&amp;#41;&amp;#59;&lt;br /&gt;      return View&amp;#40;album&amp;#41;&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;</description><author>Joselyr</author><pubDate>Fri, 13 Jul 2012 21:23:52 GMT</pubDate><guid isPermaLink="false">Edited Issue: Tutorial 3.0b "not working" properly [6681] 20120713092352P</guid></item><item><title>Created Issue: Tutorial 3.0b page 101-104 "not working" [6681]</title><link>http://mvcmusicstore.codeplex.com/workitem/6681</link><description>The tutorial need the following StoreController modification to work sucessful&amp;#58;&lt;br /&gt;&lt;br /&gt;public ActionResult Details&amp;#40;int id&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;  var album &amp;#61; storeDB.Albums.Include&amp;#40;&amp;#34;Genre&amp;#34;&amp;#41;.Include&amp;#40;&amp;#34;Artist&amp;#34;&amp;#41;.Single&amp;#40;g&amp;#61;&amp;#62; g.AlbumId &amp;#61;&amp;#61; id&amp;#41;&amp;#59;&lt;br /&gt;  return View&amp;#40;album&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;</description><author>Joselyr</author><pubDate>Fri, 13 Jul 2012 20:56:43 GMT</pubDate><guid isPermaLink="false">Created Issue: Tutorial 3.0b page 101-104 "not working" [6681] 20120713085643P</guid></item><item><title>Created Issue: Updating the Store Index to query the database [6680]</title><link>http://mvcmusicstore.codeplex.com/workitem/6680</link><description>I updated my store index to query database from&lt;br /&gt;&amp;#123;&lt;br /&gt;            var categories &amp;#61; new List&amp;#60;Category&amp;#62;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                new Category &amp;#123; CategoryName &amp;#61; &amp;#34;Cameras&amp;#34;&amp;#125;,&lt;br /&gt;                new Category &amp;#123; CategoryName &amp;#61; &amp;#34;Camcorders&amp;#34;&amp;#125;,&lt;br /&gt;                new Category &amp;#123; CategoryName &amp;#61; &amp;#34;Lenses&amp;#34;&amp;#125;,&lt;br /&gt;                new Category &amp;#123; CategoryName &amp;#61; &amp;#34;Printers&amp;#34;&amp;#125;,&lt;br /&gt;                new Category &amp;#123; CategoryName &amp;#61; &amp;#34;Filters&amp;#47;Accessories&amp;#34;&amp;#125;,&lt;br /&gt;                new Category &amp;#123; CategoryName &amp;#61; &amp;#34;Memory&amp;#34;&amp;#125;,&lt;br /&gt;            &amp;#125;&amp;#59;&lt;br /&gt;            return View&amp;#40;categories&amp;#41;&amp;#59;&lt;br /&gt;       &amp;#125;&lt;br /&gt;with the code&lt;br /&gt;&lt;br /&gt;public ActionResult Index&amp;#40;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    var genres &amp;#61; storeDB.Genres.ToList&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;    return View&amp;#40;genres&amp;#41;&amp;#59;&lt;br /&gt; &amp;#125;&lt;br /&gt; when I keyed in the &amp;#8220;&amp;#47;Store&amp;#8221; URL,&lt;br /&gt;it says Selecting form 0 genres, I cant see any of my listed genres any more. Does it mean its not calling into my database. how do i rectify this problem&amp;#63;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description><author>princyfav</author><pubDate>Thu, 05 Jul 2012 05:56:42 GMT</pubDate><guid isPermaLink="false">Created Issue: Updating the Store Index to query the database [6680] 20120705055642A</guid></item></channel></rss>