CartCart
 
Check Out Check Out
Assisted Solutions, Inc. Assisted Solutions
Technology Done Right
 
 
 
 
 
 
 
A Service of Data Research Group | View Purchase History
Articles

Articles

"This operation requires IIS integrated pipeline mode."
posted Friday, February 08, 2008 by Joelp

I ran into an interesting problem with .Net 3.5 today, when trying to access response headers like so:

context.Response.Headers.Add("Content-Disposition", "attachment; filename=\"" + filename + "\"");

The application returns the error "This operation requires IIS integrated pipeline mode." Through some quick googling, I discovered that the problem existed in beta, and apparently wasn't corrected for the release.

Interestingly, there is a simple workaround for adding headers:

context.Response.AddHeader("Content-Disposition", "attachment; filename=\"" + filename + "\"");

Why this simple change works I have yet to discover, but until Microsoft gets a patch out that corrects this behavior it'll do for me.

0 Comments
ARCHIVES
February 08, 2008
September 13, 2007
August 09, 2007
July 13, 2007
May 25, 2007
May 14, 2007
April 25, 2007
SYNDICATION
RSS 2.0
Atom 1.0
Email Alerts
Merchant Services
     
SSL Certificates