IIS compression doesnt open excel file properly.Shows message that file cannot be accessed or corrupted,located on a server that is not responding
we have used IIS 7 compression on asp.net application .The application downloads a excel file and ope开发者_开发知识库ns it properly when compression is not applied.When compression is applied the excel file downloads but doesn't open properly. It shows a message that the file cannot be accessed.The file may be corrupted,located on a server that is not responding or read-only. Please suggest what is going wrong.Why is the file opening with error.What resolution can be applied.Please help.
Thanks in advance.
Is the downloaded file perhaps still gzipped on the drive, but with a .xls extension? I'm guessing this shouldn't happen, but would be my first guess. You can probably just check the file size and compare it to the original as a quick check.
Also, does this happen with all browsers, or just a specific one?
精彩评论