Re: HTTP Compression issues with IIS 5

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: WenJun Zhang[msft] (v-wzhang_at_online.microsoft.com)
Date: 09/29/04


Date: Wed, 29 Sep 2004 10:44:28 GMT

Hi Tony,

You can use ADODB.Stream which is more convenient. I used your PDF as
the sample file to test the streaming. The problem at my side is
VS.net would be launched by IE to open the file as ASP instead of PDF.

However if I load the page first, then use a form button to send a
new POST request and render the file downloading(using ), it can work
properly. See my attached file in this message.

Most like somehow IE ignores the Content-Type: application/pdf\r\n
specification. However I also tested this will not happen on file
types like .doc or .xls.

I wonder if the 'button click' can be a work around for your issue?
or you may test sending a query string to render the downloading. I
assume as long as the page has been loaded at first, the download
should work fine.

Best regards,

WenJun Zhang
Microsoft Online Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
Get Secure! - www.microsoft.com/security


Quantcast