MVC4 HTTP错误403.14 - 禁止 [英] MVC4 HTTP Error 403.14 - Forbidden

查看:964
本文介绍了MVC4 HTTP错误403.14 - 禁止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有建立一个.net4.5 ASP.NET MVC4的网络应用程序,它在本地工作正常(IIS防爆preSS和放大器;开发服务器),但一旦我把它部署到我的Web服务器,它抛出了403错误。我已在服务器上安装了.NET 4.5RC甚至尝试 为aspnet_regiis -i 位,每个人都推荐他们的问题与MVC / .NET的previous版本,但它并没有帮助。

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.

任何想法?

修改: 有关情况更多信息。该服务器是32位和我有正常工作4其他MVC3应用程序。这只是我的MVC4应用程序运行不正常。

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.

推荐答案

尝试

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

通过

<一个href="http://serverfault.com/questions/405395/unable-to-get-anything-except-403-from-a-net-4-5-website">http://serverfault.com/questions/405395/unable-to-get-anything-except-403-from-a-net-4-5-website

这篇关于MVC4 HTTP错误403.14 - 禁止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆