2013-02-16 33 views
1

把ResourceManager和Window组件放在一个Web应用程序中我正在调试asp.net应用程序,但是 它显示警告消息!该项目的web.config文件缺少必需的DirectRequestModule

The web.config file for this project is missing the required DirectRequestModule. 

Example 

<system.web> 
    <httpModules> 
    <add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net" /> 
    </httpModules> 
</system.web> 
More information available at "Getting Started". 

如何解决这种错误?

+0

加入此\t \t' \t \t \t <添加路径= “*/ext.axd” 动词= “*” 类型= “Ext.Net.ResourceHandler” 验证= “假”/> \t \t \t \t \t \t \t <添加名称= “DirectRequestModule” 类型= “Ext.Net.DirectRequestModule,Ext.Net”/> \t \t \t \t \t \t \t \t \t \t \t <添加组​​件= “Ext.Net” 命名空间= “Ext.Net” 的TagPrefix = “分机”/> \t \t \t \t \t' – 2013-02-16 13:28:36

+0

现在它的工作! – 2013-02-16 13:28:57

回答

0

有点奇怪,我这个固定的方式..

前,我用Server.Transfer的(..)重定向页面 然后我就开始对着同样的问题

然后我搜索了很多,最终我改变了Server.Transfer的(..)来的Response.Redirect(..),和TA-DA,它的工作完美..

希望这有助于你:-)

相关问题