asp.net httpmodule问题

以前学过IHttpModule实现,这次用到了(.net2013),注册完成后出现如下错误:

An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode

其实在web.config里面加上如下配置就好了

<configuration>
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
    </system.webServer>
</configuration>

怕下次找费时间,记下来
posted @ 2016-11-15 11:55  Tea  阅读(154)  评论(0编辑  收藏  举报