首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在IIS8上部署MVC3 - Cassette应用程序时出错

在IIS8上部署MVC3 - Cassette应用程序时出错
EN

Stack Overflow用户
提问于 2012-10-04 13:05:18
回答 1查看 508关注 0票数 1

在本地计算机上运行良好,但在部署时会弹出以下错误消息:

代码语言:javascript
复制
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\foo\web.config
Requested URL      http://foo.net:80/
Physical Path      C:\inetpub\foo
Logon Method       Not yet determined
Logon User     Not yet determined

Config Source:
   71:     </modules>
   72:     <handlers> <--- This part is highlighted on the error page.
   73:       <add name="CassetteHttpHandler" path="cassette.axd" preCondition="integratedMode" verb="*" allowPathInfo="true" type="Cassette.Aspnet.CassetteHttpHandler, Cassette.Aspnet" />

More Information:
This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.

我能做些什么来解决这个问题呢?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-10-04 13:09:50

我解决此错误的方法是进入IIS管理窗口,选择Feature Delegation,并将读/写设置为处理程序映射和模块。

现在一切都很好。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/12720552

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档