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

404
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

ASP.NET MVC3 RadioButtonList

Small rant while I’m sorting this out – why oh why oh why doesn’t ASP.NET MVC3 ship with a RadioButtonList Html Helper? Yes I know I can roll my own, but surely, having implemented a DropDownList, they could have popped a RadioButtonList in there for us as well – maybe with an annotation on the model to say which I would prefer? There are just so many times when it just makes the data entry on the front end soooo much quicker for small lists to have radio buttons instead of a drop down.

It seems like such an obvious thing that should be in the core of the code…and I’ve spent a fair amount of time looking through the documentation, thinking I must be missing something. Grrrrr.