IIS6 + HttpModule:此操作需要IIS集成管道模式 [英] IIS6 + HttpModule: This operation requires IIS integrated pipeline mode

查看:100
本文介绍了IIS6 + HttpModule:此操作需要IIS集成管道模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用IIS6,我已经编写了HttpModule,并且收到此错误?上网搜索后,我发现此问题是由.NET Framework 3.5引起的,因此我将其放在没有安装.NET 3.5的计算机上,但问题仍然存在!

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 machine where I didn't install .NET 3.5, but the problem is still there!

推荐答案

我尝试进行心理调试:您正在使用类似以下语句:

My attempt at psychic debugging: you're using a statement like:

Response.Headers("X-Foo") = "bar"

如果确实是这种情况,则如下所示进行更改即可解决该问题:

If this is indeed the case, changing this as shown below will work around the problem:

Response.AddHeader("X-Foo", "bar")

这篇关于IIS6 + HttpModule:此操作需要IIS集成管道模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆