【问题标题】:IIS 7.5 error the requested resource can't be accessedIIS 7.5 错误无法访问请求的资源
【发布时间】:2012-01-16 19:14:22
【问题描述】:

我正在尝试解决我的问题。我给出了所有配置问题,但仍然出现此错误

The requested page cannot be accessed because the related configuration data for the page is invalid.
Config Error 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".  
Config File \\?\C:\inetpub\wwwroot\WebSetup1\web.config 

</modules>
  116:   <handlers>
  117:    <remove name="WebServiceHandlerFactory-Integrated" />

我也可以访问 Allow 和 in 模块,但仍然出现此错误 使用带有 IIS 7.5 + ASP.Net 3.5 的窗口 7 有什么想法吗?

【问题讨论】:

  • IIS 管理器 -> 功能委派。为“处理程序映射”尝试“读/写”

标签: asp.net iis-7 asp-classic iis-7.5


【解决方案1】:

在用户权限方面,IIS 7.5 是一个难题。我会检查 defaultapppool 或您的应用程序的 IIS 用户是否有权访问该目录。希望这会有所帮助。

【讨论】:

    【解决方案2】:

    尝试在web.config中使用

    <system.webServer>
          <validation validateIntegratedModeConfiguration="false" />
          <!-- ... -->
        </system.webServer>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-01-27
      • 2011-10-23
      • 2017-10-07
      • 1970-01-01
      • 1970-01-01
      • 2015-09-25
      • 1970-01-01
      • 2023-02-14
      相关资源
      最近更新 更多