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");

Published by

Tim Clark

Experienced Business Owner, Chief Information Officer, Vice President, Chief Software Architect, Application Architect, Project Manager, Software Developer, Senior Web Developer, Graphic Designer & 3D Modeler, University Instructor, University Program Chair, Academic Director. Specialties: Ruby, Ruby on Rails, JavaScript, JQuery, AJAX, Node.js, React.js, Angular.js, MySQL, PostgreSQL, MongoDB, SQL Server, Responsive Design, HTML5, XHTML, CSS3, C#, ASP.net, Project Management, System Design/Architecture, Web Design, Web Development, Adobe CS6 (Photoshop, Illustrator)

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

  1. 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 comment