Reputation: 65381
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
Upvotes: 3
Views: 1598
Reputation: 3432
I was experiencing the same issue. The solution in my case was to run aspnet_regiis.exe -i
.
Upvotes: 2
Reputation: 1493
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.
Upvotes: 3
Reputation: 1885
In IIS go to your ApplicationPool Right Click > Advanced Settings > Select "Integrated" for Managed Pipeline Mode
Upvotes: 0