IIS7上的Umbraco安装问题

时间:2009-05-28 06:01:53

标签: iis-7 windows-vista umbraco

我正在尝试在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-->

有什么想法吗?

8 个答案:

答案 0 :(得分:2)

这对我有用 - 只是继续查看导致错误的部分是什么,并将配置文件部分更改为允许 - 必须通过这三次解锁各个部分

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

答案 1 :(得分:1)

我发现错误的配置文件部分是注册adobe扩展名的部分。

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

一旦我对此进行了评论,那么网站就会完美呈现。

我正在使用Windows Vista和IIS7(v6 SP2)

答案 2 :(得分:0)

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

确保执行以下操作...

  1. 确保网站应用程序池在classic mode under IIS7中运行,umbraco forum post关于它。
  2. 确保NTFS file permissions设置正确,以便IIS可以访问正确的文件。
  3. 确保您的web.config文件有效且可以传递。 online parser (copy and paste)

答案 3 :(得分:0)

你是如何安装的? 强烈建议您通过Microsoft Web Platform Installer(webpi)安装Umbraco - http://www.microsoft.com/web/gallery/default.aspx

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

答案 4 :(得分:0)

错误很明显 - web.config中设置的配置部分之一在父/服务器级别被锁定。检查您的applicaitonHost.config以查看Umbraco / web.config中设置的部分无法覆盖(它具有overrideModeDefault =“Deny”),然后解锁该部分(如果您有权限)或删除配置来自web.config的问题。

答案 5 :(得分:0)

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

HTH,

本杰明

答案 6 :(得分:-1)

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

答案 7 :(得分:-1)

这对我有帮助 c:\ Windows \ Microsoft.NET \ Framework \ v4.0.30319&gt; aspnet_regiis.exe -i(关注64位)

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

相关问题