在Windows 8上安装DNN4时出错

时间:2014-09-16 14:28:08

标签: asp.net iis dotnetnuke iis-8

我的公司支持一个非常古老的DNN4网站。我试图在我的Windows 8计算机上运行本地副本,以便我可以测试客户端请求的一组更改。

我已将该网站添加到IIS中的默认网站,并为该网站提供了自己的应用程序池:

app pools enter image description here

当我尝试浏览网站以实际安装它时,我收到此错误(看起来抱怨web.config的处理程序部分)。

error

完整错误文字

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:\Users\Public\dnn4\web.config
Requested URL      http://localhost:80/dnn4
Physical Path      C:\Users\Public\dnn4
Logon Method       Not yet determined
Logon User     Not yet determined

Config Source:
   75:      </modules>
   76:      <handlers>
   77:          <add name="AJAX_ScriptResourceHandler" path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv2.0" />

1 个答案:

答案 0 :(得分:1)

您真的不应该在USERS文件夹下设置网站,我建议您在没有限制权限的文件夹中的“用户”文件夹之外进行此操作。