IIS8 Win8和runAllManagedModulesForAllRequests ="true"; [英] IIS8 Win8 and runAllManagedModulesForAllRequests="true"

查看:239
本文介绍了IIS8 Win8和runAllManagedModulesForAllRequests ="true";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在IIS8中运行配置中包含以下内容的应用程序:

<modules runAllManagedModulesForAllRequests="true" />

IIS8给我一个错误,提示...

此配置部分不能在此路径上使用.有时候是这样的 当该节被锁定在父级时.锁定是通过 默认值(overrideModeDefault ="Deny"),或由位置明确设置 标记并带有overlayMode ="Deny"或旧版allowOverride ="false".

我通过错误和快速的SO搜索猜测,存在一些更高级别的安全设置,该设置阻止了该行的允许.有什么想法吗?

解决方案

我通过在控件中安装窗口功能"Internet信息服务/万维网服务/应用程序开发/ASP.NET xx"解决了相同的问题. Windows面板8.如果要在Windows Server 2012上进行设置,则以下链接为您提供提示.

IIS8 is giving me an error that says...

This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".

I'm guessing by the error and a quick SO search that there is some higher level security setting that's preventing that line from being allowed. Any ideas?

I've solved the same problem by installing the window features "Internet Information Service/World Wide Web Service/Application Development/ASP.NET x.x" in the Control Panel of Windows8. If you want to setting on Windows Server 2012, the following link gives you hint. http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-using-aspnet-35-and-aspnet-45

hope that it works out.

这篇关于IIS8 Win8和runAllManagedModulesForAllRequests ="true";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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