IIS不运行ASP.NET MVC应用程序 [英] IIS not running ASP.NET MVC application
本文介绍了IIS不运行ASP.NET MVC应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经部署了一个asp.net MVC应用程序到我的IIS7的服务器。当我尝试浏览dafault路线我得到的消息
I have deployed an asp.net MVC application to my IIS7 server. When I attempt to browse the dafault route I get the message
HTTP错误403.14 - 禁止
HTTP Error 403.14 - Forbidden
Web服务器配置为不列出此目录的内容。
The Web server is configured to not list the contents of this directory.
很明显,我认为这是不加载/处理在Global.asax,但我不知道为什么。我已经部署了另外一个MVC应用这一相同位置/应用程序池,它工作正常。
It's clear to me that it is not loading/processing the global.asax, but I have no idea why. I've deployed another MVC application to this same location/app pool and it works fine.
有没有人有任何想法如何调试问题这样?
Does anyone have any idea how to debug a problem like this?
推荐答案
也许
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
或
- ASP.NET MVC on IIS 7.5
- ASP MVC in IIS 7 results in: HTTP Error 403.14 - Forbidden
- Can't run ASP.NET MVC 2 web app on IIS 7.5
这篇关于IIS不运行ASP.NET MVC应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文