IIS6 + HttpModule: This operation requires IIS integrated pipeline mode

后端 未结 4 920
半阙折子戏
半阙折子戏 2020-12-10 02:22

I am using IIS6, I\'ve written an HttpModule, and I get this error? After googling the web I find that this problem is caused by the .NET framework 3.5, so I put this on a

4条回答
  •  猫巷女王i
    2020-12-10 02:51

    Inspired by other answers, I've found that it's accessing the Response.Headers object that causes the "operation requires IIS integrated pipeline mode" exception.

    Avoid .Headers and call other (older?) helper functions like:

    • Response.AddHeader() and
    • Response.ClearHeaders() (in my case!)

提交回复
热议问题