R – ASP.Net MVC Application on Windows Server 2008 uses static file handler

asp.net-mvciis-7installationwindows-server-2008

I have just installed a ASP.Net Mvc application on a windows server 2008.

When I try to use the application I see that IIS 7 tries to use the static file handler, I therefore get a 403 or 404 error.

How do I get it to use the MVC handler?

EDIT

Have also tried asking this question on serverfault. It has a bounty here

Best Answer

In Server Manager, select Web Server (IIS) and press 'Add Role Services'. From here, select 'ASP.NET' and press OK to add the other required role services.