It works perfectly well when tested it using the VS 2010/2012 debugging dev
server. After MVC 4.0 web application deployed, getting HTTP 404 Page Not Found.
Solution:
1. Make sure you are using ASP.NET 4.x, Integrated Mode Pool.
2. Make sure you have below code in your web.config:
<
system.webServer
>
<
modules
runAllManagedModulesForAllRequests
=
"true"
/>
</
system.webServer
>
Article ID: 277, Created: November 7, 2012 at 7:10 PM, Modified: November 7, 2012 at 7:10 PM