So when I am hosting ASP.NET MVC web site in iis 7 I got following error.
So I followed following steps to get this solved.
Click “Start button”
in the search box, enter “Turn windows features on or off”
in the features window, Click: “Internet Information Services”
Click: “World Wide Web Services”
Click: “Application Development Features”
Check (enable) the features. I checked all but CGI.
Now it is solved. I think it might help you.