以前运行良好的Ext.net应用部署到IIS7.5 Win2008 上,会弹出缺少<add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net" />
的提示,但是明明已经配置过了,很奇怪。
解决方案:
IIS7.5+Win2008 .Net Framework4.0 集成环境
WebConfig中添加:
<system.webServer> <validation validateIntegratedModeConfiguration="false" /> <!--<modules runAllManagedModulesForAllRequests="true"/>--> <modules> <add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net" /> </modules> <handlers> <add name="html_PageHandlerFactory" path="*.html" verb="*" type="System.Web.UI.PageHandlerFactory" resourceType="Unspecified" preCondition="integratedMode" /> </handlers> </system.webServer>