Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS6 + HttpModule: This operation requires IIS integrated pipeline mode

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!

like image 662
sdhjl2000 Avatar asked Oct 09 '08 09:10

sdhjl2000


1 Answers

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")
like image 78
mdb Avatar answered Dec 04 '22 17:12

mdb