ASP.Net MVC Application on Windows Server 2008 uses static file handler
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 theref开发者_运维百科ore 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
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.
I was experiencing the same issue. The solution in my case was to run aspnet_regiis.exe -i
.
In IIS go to your ApplicationPool Right Click > Advanced Settings > Select "Integrated" for Managed Pipeline Mode
精彩评论