【问题标题】:PageHandlerFactory-Integrated-4.0 Server ErrorPageHandlerFactory-Integrated-4.0 服务器错误
【发布时间】:2013-12-13 17:17:01
【问题描述】:

我是 web.config 的新手,我正在从另一个开发人员那里接手代码。 当我尝试访问其中一个页面时,我有这个内部服务器。

HTTP 错误 500.19 - 内部服务器错误

模块:CustomErrorModule 通知:SendResponse 处理程序: PageHandlerFactory-Integrated-4.0 错误代码:0x80070021 配置错误: 锁冲突

登录用户:匿名

这里是关于错误的更多信息:

System.Web.HttpParseException" message="基类包含字段'Iframe',但其类型(System.Web.UI.HtmlControls.HtmlGenericControl)与控件类型(System.Web.UI)不兼容.HtmlControls.HtmlIframe)。”

我的 aspx 页面中没有 iFrame,设计器页面中也没有 iFrame 或 HtmlFrame。我不知道该怎么办。

网站的其他页面使用相同的设计,并且可以正常访问。

【问题讨论】:

  • 你尝试了什么,你的代码是什么?

标签: asp.net web-config


【解决方案1】:

试试这个:

编辑文件C:\Windows\System32\inetsrv\config\applicationHost

<configSections> 中进行以下更改

<section name="handlers" overrideModeDefault="Deny" /> change this to "Allow"

<section name="modules" allowDefinition="MachineToApplication" 
  overrideModeDefault="Deny" /> change this to "Allow"

【讨论】:

    猜你喜欢
    • 2014-11-07
    • 2015-10-06
    • 2011-10-14
    • 1970-01-01
    • 2012-01-29
    • 2010-12-30
    • 1970-01-01
    • 1970-01-01
    • 2011-09-13
    相关资源
    最近更新 更多