2013-02-16 36 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,它的工作完美..

希望這有助於你:-)

相關問題