IIS 6.0 HTTP Compression Problem
Posted on 2006-04-27
I have one ASP page (ExcelReport.asp) with Response.ContentType = "application/vnd.ms-excel" and Response.AddHeader "Content-Disposition", "filename=ExcelReport.xls" to export to excel. The website is hosted on Win 2003 server win IIS 6.0.When the user opens this page it displays the filedownload dialog box with file name "ExcelReport.xls" and user can save it as an excel file.
The problem is when the HTTP Compression for dynamic files (compress application files) is turned on, on IIS, the files name extension (.xls) is not coming while trying to download. It comes as ExcelReport.asp and on saving gets saved as .asp.
This issue happens with IE 5.5 (SP2). But works fine if the HTTP Compression for dynamic files is turned off. Is this an IIS issue with HTTP Compression?
Can any one help on this ?
Thanks in advance