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.
Please fix this by following the steps below
- Make sure you are using ASP.NET 4.x, Integrated Mode Pool.
- Make sure you have the below code in your web.config.
<
system.webServer
>
<
modules
runAllManagedModulesForAllRequests
=
"true"
/>
</
system.webServer
>