Daily Archives: May 22, 2014

1 post

Duplicate headers received from server

This error is very common to ASP.NET developers. If you have a web application that generates some file on the fly then prompts the user to download the file, then you may encounter “duplicate headers received from server” error. Most likely the web application will use Response.AddHeader() method to push the file to the browser for downloading, something like this: Response.AddHeader(“Content-Disposition”, “attachment;filename=” + outputFileName ); If the variable outputFileName contains comma, then you will get […]