C# This operation requires IIS integrated pipeline mode.

When trying to add Http Headers to your Response object you may get the error “This operation requires IIS integrated pipeline mode.” This is what looks like a bug in the .net framework. In order to work around this issue you should add the Http Headers to the Response using the following format.

HttpContext.Current.Response.AddHeader("ContentType", "application/x-www-form-urlencoded");

One thought on “C# This operation requires IIS integrated pipeline mode.

  • Hi i am also facing the same problem on IIS 6 and still not able to solve it
    Can anyone help me to fix this Issue?

    Thanks in Advance
    Regards
    Sohaib Qazi

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s