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>
posted on 2011-08-16 16:02  slc  阅读(929)  评论(0编辑  收藏  举报