Re: IIS 6 Windows 2003 SP1 RC 1289 Download bug

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


Date: Thu, 23 Dec 2004 22:42:20 -0800

Thanks for giving me that detail.

Right now, I am thinking that the problem is with an incorrect Content-Type
causing browser to misinterpret data.
1. Please uncheck the "dynamic compression" setting, restart IIS to make
sure compression is off, and then try the download with the ASPX file. I
want to know if the issue happens without compression
2. Please give me the contents (doesn't need to be everything if you can
give the minimal code sufficient to show the issue) of your download.aspx
for a repro

I did the same clean install, and I do not see .exe set to application/zip.
I see it set to .exe application/octet-stream. This difference may be
important since it suggests your clean install != my clean install. I'm
thinking that since IIS merges its MIME Map settings with the Registry
MIMEType (app compat reasons) that other programs installed on the server
can affect this IIS behavior.

In your attempt in ASPX page to set the Content-Type, please do a NetMon
sniff and verify that you do NOT have conflicting Content-Type (which can
still confuse a browser). The "unknown filesize" observation is by-design,
since a browser will not know the actual filesize of a chunked-encoded
download.

I appreciate your patience. I think we are getting close to figuring out
what is going on here.

-- 
//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:443FC9E0-1F5D-43A7-93C5-0694D8A07B62@microsoft.com...
1. Clean install of 2003 upgraded to sp1 rc1
2.  .exe application/zip was already there and was not changed
3. The file does reside on a virtual dir with (read / Log visits / Index
this resource) and Execute permitions = None
4. Problem does not exist on normal 2003 with same settings
5. Under properties for web sites Service>Compress application files=True
(Default)
6. In my download.aspx i tryed application/octet-stream and exes came out
corrupt (response.TransmitFile) it uses application/zip. But thats not the
problem here as the web server is set to application/zip.
7. All settings are default install no 3rd party.
8. Programs installed are Visual studio 2003, Open office 1.1.3, SQL server
2000 SP3, WUS, and Mozilla Firefox.
9. Works fine with smaller files EG 5MB


Relevant Pages

  • Re: HTTP Error 403.6 - Forbidden: IP Address Rejected
    ... it was the proxy settings on the ... > You can also try to change the security settings for the Remote Web ... Open the IIS console ...
    (microsoft.public.windows.server.sbs)
  • Re: ASP.NET webs not working
    ... application settings were simple and easily reversible in an effort to ... The Default Web Site in IIS has "Anonymous access" checked. ... The default security and applications should be correctly configured by ...
    (microsoft.public.frontpage.client)
  • Re: IIS security settings are reset after I reboot the server
    ... Stopping and restarting the IIS services should let you see if the ... security settings are going to disappear or not after a reboot [in other ... I believe the IIS settings may be disappearing when the services are ... Then, restart W3SVC service. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Customerrors in web.config question
    ... description on the different levels of error handling in IIS 6 and ASP.NET ... > error settings defined within the IIS metabase and not by the ... >>web.config file with a customerrors element that points the error handling ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: replicate IIS Setting between 2 IIS Server
    ... You can also export IIS settings to an XML file & import them to another ... Load Balancing: ... And if there's a server failure, ...
    (microsoft.public.inetserver.iis)