C# – Getting 404 error with ASP.NET MVC starter project

asp.net-mvcciis

I just created a ASP.NET MVC project and was able to build and browse it using the Visual Studio Development Server.

When I tried to change from Visual Studio Development Server to my local IIS (IIS 5.1) under the project properties Web -> Server. I am able to browse to the default page, but when I browse to any other page I get a 404 error.

The root of my site and virtual directory is http://localhost/MyMvcApplication

Is there a different configuration when using IIS?