IIS 6 ASP.NET MVC3 Page Cannot Be Found 404 Errors

404 Page not found

This is a sneaky little devil, this one. If you’ve done everything right and your site still isn’t being served up correctly, try this little trick:

Step 1: Collect Underpants by opening up IIS Manager and right clicking on “Web Service Extensions”:

Web Service Extensions
Web Service Extensions

Step 2: Select “Allow all Web service extensions for a specific application”

Step 3: Select “ASP.NET v4.0.30319” from the drop down and click “Ok”:
Allow ASP.NET v4.0.30319

Annoying conversations you will have as a developer

User: “The copy of the database you set up for me doesn’t have all the tables I need to do my ad-hoc queries”

Developer: “Oh dear, that’s very odd because I simply backed up and restored the entire thing for you on the mirror server – hang on a moment while I do a quick query against both servers….um both databases have the exact same tables, so which tables are you missing?”

User: “I don’t know which tables are missing because I can’t see them.”

Developer: “So how do you know there are missing tables?”

User: “Huh?!”