I have what seems to be a strange problem to me. I am working on creating an ASP.NET MVC project and when I load the site using the 'Visual Studio Development Server', everything works as expected. However, if I change the project properties to 'use local IIS Web Server' and load the site, only the Home Page works. If I try to load any other page I get a 404 error. The application is running on Windows Server 2003 and IIS 6.
Any suggestions on how to fix this issue would be greatly appreciated.
Best Answer
Not strange at all. You need to setup IIS6 to route requests to the ASP.NET engine.
Steve Sanderson has a fine article discussing different options on deploying ASP.NET MVC to IIS 6.
He presents five alternative solutions - pick one: