This project is read-only.

Blank Store Pages

Nov 2, 2011 at 12:04 PM

Hi all,

  I Just downloaded the MVC Music Store archive and when I run the project the page contains no musid data, but does include the genre menus on the left the top right " Home, Store Cart Admin" menus.

Looking at the generated code, it looks like the data is there because if I select the Pop Genre I see this in the code...

<div class="genre">
    <h3><em>Pop</em> Albums</h3>
    <ul id="album-list">
                <a href="/Store/Details/158">
                    <img alt="Frank" src="/Content/Images/placeholder.gif" />

                <a href="/Store/Details/159">
                    <img alt="Ax&#233; Bahia 2001" src="/Content/Images/placeholder.gif" />
                    <span>Ax&#233; Bahia 2001</span>


But as I said, nothing on the screen. Seems to be a CSS styling issue, would be my guess. What am I missing, what do I need to fix?

Nov 2, 2011 at 12:15 PM
Edited Nov 2, 2011 at 12:19 PM

OK the problem seems to be browser related. I'm using Firefox 7.0.1 as by default browser and that doesn't render this example correctly. Any ideas of a fix?

Worth noting is that the old MVC2 version of this music store, does work in FF 7.0.1.

Nov 2, 2011 at 12:54 PM

Ok it seems that once I added the role provider information, it started displaying things. I don't think I've done anything else. Either way very odd as other browsers did seem to need that.