1

将 ResourceManager 和 Window 组件放在 Web 应用程序上后,我正在调试 asp.net 应用程序,但它显示警告消息!

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". 

如何解决这种错误?

4

2 回答 2

2

README.txt包含一个Web.config示例,请参阅

http://examples.ext.net/#/Getting_Started/Introduction/README/

同样,通过 NuGet 安装 Ext.NET 将自动设置正确的 Web.config 节点。

install-package ext.net

希望这可以帮助

于 2013-02-16T14:43:28.543 回答
0

有点奇怪,我解决这个问题的方式..

早些时候我使用 Server.Transfer(..) 重定向页面然后我开始面临同样的问题

然后我进行了很多搜索,最后我将 Server.Transfer(..) 更改为 Response.Redirect(..),并且 ta-da 它运行良好..

希望这可以帮助你:-)

于 2013-07-01T07:47:07.740 回答