.net – MVC4 HTTP Error 403.14 – Forbidden

asp.net-mvcasp.net-mvc-4http-status-code-403iisnet

I have build a .net4.5 ASP.NET MVC4 web app which works fine locally (IIS Express & dev server) but once i deploy it to my web server it throws the 403 error. I have installed .Net 4.5RC on the server and even tried the
aspnet_regiis -i
bit that everyone recommended for their issues with previous versions of MVC/.Net but it did not help.

Any ideas?

EDIT:
More info about the situation. The server is 32bit and I have 4 other MVC3 applications that work fine. It is just my MVC4 app that is not working.

Best Answer

Try

<system.webServer>
   <modules runAllManagedModulesForAllRequests="true"/> 
 </system.webServer>

Via

https://serverfault.com/questions/405395/unable-to-get-anything-except-403-from-a-net-4-5-website