Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Canceling multiple file downloads on a large file causes Internet Explorer to stop responding


View products that this article applies to.

This article was previously published under Q266305

↑ Back to the top


Symptoms

If a Web server uses the "Content-disposition: attachment" HTTP header to force a file download, and the user cancels the download 2 or 4 times from the Save As dialog box, Internet Explorer appears to stop responding ("hang") during the next attempt to download the file. The download indicator in the upper-right corner of the browser continues to advance for 15 minutes before the browser renavigates to an error page that indicates that the download was unsuccessful. After this, Internet Explorer will not respond to any attempt to access that Web site.

This problem occurs consistently only with large files or slow connections.

↑ Back to the top


Cause

In this specific scenario, Internet Explorer strands a connection to the Web server. This connection won't be reused or closed until Internet Explorer is closed. Because of the HTTP-enforced, per-server connection limit, after 2 or 4 connections are stranded, Internet Explorer is no longer able to create new connections to the server and will time out waiting for one of the stranded connections to close.

↑ Back to the top


Resolution

To resolve this problem, obtain the latest service pack for Internet Explorer version 5.5. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
276369� How to Obtain the Latest Internet Explorer 5.5 Service Pack

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in Internet Explorer 5.5. This problem was first corrected in Internet Explorer version 5.5 Service Pack 1.

↑ Back to the top


More information

Steps to Reproduce Behavior

  1. Open a fresh browser instance.
  2. Visit a large resource on a Web server that uses the content-disposition header to force the File Download dialog box.
  3. When the File Download dialog box appears, click to Save the file, and then click OK.
  4. When the Save As dialog box appears, click CANCEL to cancel the download.
  5. Repeat steps 2 through 4. This may take 2 or 4 repetitions on some computers. Eventually, Internet Explorer will hit the connection limit and time out on any request to that server.
NOTE: For the behavior to occur, the user must cancel the download from the Save As dialog box. The problem does not occur when the user cancels the download from the first File Download open/save dialog box.

↑ Back to the top


References

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
183110� WinInet Limits Connections Per Server

For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
http://msdn.microsoft.com/ie/

↑ Back to the top


Keywords: KB266305, kbnavigation, kbie550sp1fix, kbfix, kbbug

↑ Back to the top

Article Info
Article ID : 266305
Revision : 4
Created on : 5/21/2007
Published on : 5/21/2007
Exists online : False
Views : 395