Click here to Skip to main content
15,896,448 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
When I try to debug my code for this ASP.NET project using Microsoft Visual Web Developer 2010 Express: http://www.asp.net/mvc/tutorials/mvc-music-store-part-1[^], when I get to this point
C#
public string Browse(string genre)
{
    string message = HttpUtility.HtmlEncode("Store.Browse, Genre = "
        + genre);

    return message;
}

I get this error:

Server Error in '/' Application. The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225



What am I doing wrong? Is something not correctly installed? I haven't been able to find a solution from google, and have tried enabling IIS in the Properties.

Please help me.

Thanks in Advance.
Posted
Updated 6-Jun-11 18:54pm
v4

1 solution

I suggest you re-ask this question at the bottom of the atricle you linked. The original developer is most likely to be able to help. You might have spotted an error in the Author's source, they will want to fix it!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900