您的位置:首页 > 编程语言 > ASP

ASP.NET使用Coolite.Ext.Web.dll,显示ext 未定义 的解决方法 (转)

2011-08-16 16:02 477 查看

ASP.NET使用Coolite.Ext.Web.dll,显示ext 未定义 的解决方法 (转)

开发系统时用到Coolite.Ext.Web.dll,起初使用XP进行的开发,测试都没有问题。后来装了Windows7,再进行开发此时是,总显示ext 未定义。

解决方法:

web.config中关于Coolite.Ext.Web.dll配置,还需要补充system.webServer节中的相关配置。

FOR IIS 6.0 and earlier

Add the following to <httpModules> section under <system.web> section in web.config:

<add name="AjaxRequestModule" type="Coolite.Ext.Web.AjaxRequestModule, Coolite.Ext.Web" />


Add the following to <httpHandlers> section under <system.web> section in web.config:

<add path="*/coolite.axd" verb="*" type="Coolite.Ext.Web.ResourceManager" validate="false" />


FOR IIS 7.0, add the following to <system.webServer>

<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<add name="AjaxRequestModule" preCondition="managedHandler" type="Coolite.Ext.Web.AjaxRequestModule, Coolite.Ext.Web" />
</modules>
<handlers>
<add name="AjaxRequestHandler" verb="*" path="*/coolite.axd" preCondition="integratedMode" type="Coolite.Ext.Web.ResourceManager"/>
</handlers>
</system.webServer>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐