[Html]
After the system is upgraded to windows server 2008 R2, IIS is also upgraded to version 7.0. After the website is published, an error is prompted: EXT is not defined. After analysis, it is found that AJAX is referenced in the program. You need to configure it separately in web. config. The configuration code is as follows:
[Html]
For iis 6.0 and earlier
Add the following to
<Add name = "AjaxRequestModule" type = "Coolite. Ext. Web. AjaxRequestModule, Coolite. Ext. Web"/>
Add the following to
<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>
[Html]
From # Define