The MagicAjax HttpModule is not included
来源:互联网 发布:excle取数据前几位 编辑:程序博客网 时间:2024/05/17 22:31
windows server 2003 升级到windows server 2008。相应的IIS也从6.0升级到了7.0,部署以前的服务后访问发现MagicAjax错误:
MagicAjax.MagicAjaxException
<!--
-->The MagicAjax HttpModule is not included in web.config. Add [<httpModules><add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax" /></httpModules>] inside the <system.web> section.
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: MagicAjax.MagicAjaxException: The MagicAjax HttpModule is not included in web.config. Add [<httpModules><add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax" /></httpModules>] inside the <system.web> section.
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[MagicAjaxException: The MagicAjax HttpModule is not included in web.config. Add [<httpModules><add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax" /></httpModules>] inside the <system.web> section.]
MagicAjax.MagicAjaxContext.get_Current() +125
MagicAjax.UI.AjaxControl.SetAjaxIntrinsics() +18
MagicAjax.UI.AjaxControl.OnLoad(EventArgs e) +18
MagicAjax.UI.Controls.AjaxPanel.OnLoad(EventArgs e) +14
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
________________________________________
版本信息: Microsoft .NET Framework 版本:2.0.50727.3053; ASP.NET 版本:2.0.50727.3053
-->The MagicAjax HttpModule is not included in web.config. Add [<httpModules><add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax" /></httpModules>] inside the <system.web> section.
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: MagicAjax.MagicAjaxException: The MagicAjax HttpModule is not included in web.config. Add [<httpModules><add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax" /></httpModules>] inside the <system.web> section.
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[MagicAjaxException: The MagicAjax HttpModule is not included in web.config. Add [<httpModules><add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax" /></httpModules>] inside the <system.web> section.]
MagicAjax.MagicAjaxContext.get_Current() +125
MagicAjax.UI.AjaxControl.SetAjaxIntrinsics() +18
MagicAjax.UI.AjaxControl.OnLoad(EventArgs e) +18
MagicAjax.UI.Controls.AjaxPanel.OnLoad(EventArgs e) +14
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
________________________________________
版本信息: Microsoft .NET Framework 版本:2.0.50727.3053; ASP.NET 版本:2.0.50727.3053
查找web.config文件,发现,没有异常,已经按照指示将相应的httpModules放到对应位置,而且在iis6下也没有问题,这是为什么呢?可能是IIS7.0的问题。网上搜索找不到明确解答,只好重新部署,查看过程中有何错误。部署后访问出现如下提示:
在iis7的web.config有这个么一个节点
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
将以下内容加到上面节点里就可以了
<add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax" />
- The MagicAjax HttpModule is not included
- The MagicAjax HttpModule is not included in web.config. Add [<httpModules><add name="MagicAjax" type
- the command could not be located because '/bin' is not included in the path environment variable
- The command could not be located because '/sbin' is not included in the PATH environment variable
- The command could not be located because '/usr/bin' is not included
- The command could not be located because '/usr/bin' is not included
- The command could not be located because '/usr/bin' is not included
- attachment_fu在Windows平台下报 Size is not included in the list
- 引用DLL打包出错”But the dll is not allowed to be included or could not be found.“
- This function is not included in this version of jmail.
- /linux/module.h is not being included, or CONFIG_MODULES is not set
- Unity 解决 An asset is marked with HideFlags.DontSave but is included in the build 问题。
- An asset is marked with HideFlags.DontSave but is included in the build:
- An asset is marked with HideFlags.DontSave but is included in the build
- An asset is marked with HideFlags.DontSave but is included in the build 解决方法
- GNU libiconv not in use but included iconv.h is from libiconv
- OpenWRT 编译 error GNU libiconv not in use but included iconv.h is from libiconv
- 编译OpenWRT时 #error GNU libiconv not in use but included iconv.h is from libiconv
- tasklet_hi_schedule分析
- 状态栏滚动文字
- 鼠标背景
- 各种编程语言铺天盖地,有函数式语言、面向对象的语言、动态语言、编译语言
- 波浪文字
- The MagicAjax HttpModule is not included
- 动态按钮
- 使用gdb调试linux内核
- HDOJ 1287:破译密码
- Infiniband介绍
- DirectShow学习笔记
- 绝好的MongoDB学习资料之六. Optimization
- 怎可以如此邪恶!
- 记住访问者的名字