zoukankan      html  css  js  c++  java
  • ASP.NET使用Coolite.Ext.Web.dll,显示ext"未定义"的解决方法

    开发系统时用到Coolite.Ext.Web.dll,起初使用Windows Server 2003进行的开发,测试都没有问题。后来装了Windows Server 2008,再进行开发此时是,总显示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>
  • 相关阅读:
    [APIO 2009] Atm
    Codeforces518 D. Ilya and Escalator
    [POJ2096] Collecting bugs
    [ZOJ3329] One Person Game
    [LightOJ1038] Race to 1 Again
    「NOI2003」逃学的小孩
    [HAOI2006] 旅行
    ☆ [POJ2411] Mondriaan's Dream 「状压DP」
    「POJ3311」Hie with the Pie
    「乘法逆元」 学习笔记
  • 原文地址:https://www.cnblogs.com/yumianhu/p/3710760.html
Copyright © 2011-2022 走看看