0

我正在尝试在 Vista (IIS7) 和 ASP.NET35 上本地安装 Umbraco - 我已使用 umbraco 论坛上显示的 IIS7 和 aspnet35 的 web.config,但仍然收到此 IIS 错误。

HTTP Error 500.19 - Internal Server Error 

The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information 

Module IIS Web Core Notification BeginRequest Handler Not yet determined 

Error Code 0x80070021 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\umbraco\web.config


Requested URL http://localhost:80/umbraco/install/ 

Physical Path C:\inetpub\wwwroot\umbraco\install\ Logon Method Not yet determined Logon User Not yet determined Config Source

185: </modules> 186: <handlers> 187: <!-- Asp.net 3.5 handlers-->

有任何想法吗?

4

8 回答 8

2

这对我有用 - 只需继续查看导致错误的部分并更改配置文件部分以允许 - 必须运行这三遍解锁各个部分

http://www.methodicmadness.com/2009/01/http-error-50019-this-configuration.html

于 2011-05-27T14:24:14.177 回答
1

I found that the config file section in error for me was the one which registered the adobe extension.

 <!-- Adobe AIR mime type     -->
    <staticContent>
      <mimeMap fileExtension=".air" mimeType="application/vnd.adobe.air-application-installer-package+zip" />
    </staticContent>

Once I commented this out then the site came up perfectly.

I am using Windows Vista with IIS7 (v6 SP2)

于 2011-06-30T02:56:04.910 回答
0

有一些自定义配置部分用于配置 Examine 和 Umbraco 的各种其他元素,并且<section>需要设置 web.config 中的相关声明requirePermission="false"(它们不在默认的 .NET3.5 配置中)。检查requirePermission="false"是否存在于所有<section>元素上,然后重试。

高温下,

本杰明

于 2011-07-05T15:40:33.653 回答
0

你是怎么安装的?强烈建议您通过Microsoft Web 平台安装程序 (webpi) - http://www.microsoft.com/web/gallery/default.aspx安装 Umbraco

但问题可能是因为您没有在经典应用程序池模式下运行该应用程序。

于 2009-08-07T03:22:04.090 回答
0

我在我的 Vista Ultimate x64 盒子上成功使用了Umbraco 4 。以及我的 Windows 2008 x64 服务器。

确保您执行以下操作...

  1. 确保网站应用程序池在 IIS7 下以经典模式运行,有关它的umbraco 论坛帖子
  2. 确保正确设置了NTFS 文件权限,以便 IIS 可以访问正确的文件。
  3. 确保您的 web.config 文件有效并且可以通过。在线解析器(复制和粘贴)
于 2009-05-28T09:57:38.350 回答
0

从错误中可以清楚地看出问题 - web.config 中设置的配置部分之一被锁定在父/服务器级别。检查您的 applicaitonHost.config 以查看在 Umbraco/web.config 中设置的哪些部分不能被覆盖(它具有 overrideModeDefault="Deny"),然后为网站解锁该部分(如果您有权限)或删除配置来自 web.config 的问题。

于 2011-01-06T20:02:55.397 回答
-1

检查 IIS 应用程序池 .NET 框架版本 - 它应该使用最新的 .NET 框架。如果没有,请将其设置为 .NET 框架的最新版本。

于 2011-11-25T05:26:13.137 回答
-1

这帮助了我 c:\Windows\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis.exe -i (关注 64Bit)

论坛 - http://our.umbraco.org/forum/getting-started/installing-umbraco/12506-HTTP-error-50019-Internal-Server-Error

于 2013-03-04T13:42:10.407 回答