Re: IIS 6 Windows 2003 SP1 RC 1289 Download bug

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 12/27/04


Date: Mon, 27 Dec 2004 11:25:26 -0800

FYI: your download is not exactly "direct".

A "direct" download would be something sent by the IIS static file handler
(i.e. literally, IIS gets the request and services the request on its own).
Your download is handled by some dynamic script engine (i.e. ASP.Net ISAPI
executes the ASPX page to make the TransmitFile call to IIS).

This distinction is important because it is the difference between whether
the response is subject static and dynamic compression. The static file
handler would be subject to static file compression, which would have
Content-Length header (so filesize works). The dynamic compression your
ASPX-sent file would be chunked encoded (so no filesize).

At this point, it looks like your ASPX page is causing the problem. If you
turn on dynamic compression AND remove the "Content-Type: application/zip"
header in the ASPX page, does it work? It also sounds like you
*-scriptmapped ASP.Net DLL if you spot the high CPU by entering xpsp2.exe
directly.

Bottom line -- everything you've just said indicate that there is no IIS6
problem to pursue. If you have any more problems to report, please send a
problem description along with the Netmon capture of the request and
response headers as well as the last 100K of the response

-- 
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Techno Mage" <TechnoMage@discussions.microsoft.com> wrote in message
news:A8215F66-20E3-4112-AE71-86C55318454D@microsoft.com...
ASPX works fine
the download is direct
I turned off the compression and now it works fine ^_^
Correct size file
Extracts with no errors
I noticed with compression on you could not type the xp sp2 exe link
directly into iexplorer, the server will use up all of one side of the CPU
and iexplorer would cut out after awhile, and server CPU would return to
normal.
Did i mention i work with Intel 3GHz HT CPU's
Could Hyper Threading be the problem
im gessing compression does not efect aspx since downloading through it
always works fine
Now i can work on the other bugs in sp1 like the delete / rename bug, task
manager network bug
Just encase anyone reading this wants to know the aspx code to download a
file is
Response.AddHeader("Content-Type", "application/zip")
Response.AddHeader("Content-Disposition", "attachment; filename=""" &
System.IO.Path.GetFileName(MyFile) & """")
Response.TransmitFile(MyFile)
Requires Dot Net 1.1 SP1


Relevant Pages

  • Re: IIS 6 Windows 2003 SP1 RC 1289 Download bug
    ... ASPX works fine ... I noticed with compression on you could not type the xp sp2 exe link ... Now i can work on the other bugs in sp1 like the delete / rename bug, ... Just encase anyone reading this wants to know the aspx code to download a ...
    (microsoft.public.inetserver.iis)
  • Re: Tournament Video Blogging
    ... compression, there are 2 basic options, download or streaming. ... The second option is to stream the video file. ...
    (rec.sport.billiard)
  • Re: The End of Record "Albums?"
    ... I will be greatly saddened when music is available by download only. ... Mp3s and other lossy compression at lowish, ... sampling rate are good quality, ... I have real doubts...I looked at the site and I couldn't find a compression ratio. ...
    (alt.guitar.amps)
  • Compression method to speed up CAN software download. (Or for low end processors in general)
    ... I'm looking for advice on patent / royalty free compression / ... decompression algorithms to use on low end microcontrollers. ... I originally specified a conservative 250 Kbit/sec CAN bus rate. ... I am now reworking things trying to speed up the SW download. ...
    (comp.arch.embedded)
  • Re: lots of easy questions about eboot/nk startup
    ... > You can activate compression in your image for some modules, ... not when loading from flash to RAM. ... > support download on eboot without activating kernel debugging on CE ...
    (microsoft.public.windowsce.platbuilder)