I have deployed an asp.net MVC application to my IIS7 server. When I attempt to browse the dafault route I get the message
我已经在IIS7服务器上部署了一个asp.net MVC应用程序。当我试图浏览dafault路径时,我得到了这个消息
HTTP Error 403.14 - Forbidden
HTTP错误403.14 -禁止
The Web server is configured to not list the contents of this directory.
Web服务器配置为不列出此目录的内容。
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.
很明显,它没有加载/处理全局变量。asax,但我不知道为什么。我已经将另一个MVC应用程序部署到相同的位置/应用程序池中,并且运行良好。
Does anyone have any idea how to debug a problem like this?
有人知道如何调试这样的问题吗?
2 个解决方案
#1
20
Maybe:
可能:
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
OR
或
- ASP.NET MVC on IIS 7.5
- ASP。iis7.5上的MVC
- ASP MVC in IIS 7 results in: HTTP Error 403.14 - Forbidden
- IIS 7中的ASP MVC会导致:HTTP错误403.14 -禁止
- Can't run ASP.NET MVC 2 web app on IIS 7.5
- 不能运行ASP。iis7.5上的netmvc 2 web应用
#1
20
Maybe:
可能:
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
OR
或
- ASP.NET MVC on IIS 7.5
- ASP。iis7.5上的MVC
- ASP MVC in IIS 7 results in: HTTP Error 403.14 - Forbidden
- IIS 7中的ASP MVC会导致:HTTP错误403.14 -禁止
- Can't run ASP.NET MVC 2 web app on IIS 7.5
- 不能运行ASP。iis7.5上的netmvc 2 web应用