Microsoft KB Archive/896017

= The window that launches a File Download dialog box unexpectedly closes when you try to download a file by using Internet Explorer in Windows XP Service Pack 2 =

Article ID: 896017

Article Last Modified on 8/29/2007

-

APPLIES TO

 Microsoft Windows XP Service Pack 2, when used with:  Microsoft Windows XP Media Center Edition 2002

 Microsoft Windows XP Tablet PC Edition

 Microsoft Windows XP Home Edition

 Microsoft Windows XP Professional</li></ul> </li></ul>

-

<div class="notice_section">

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry

<div class="symptoms_section">

SYMPTOMS
When you try to download a file by using Microsoft Internet Explorer, you may experience the following symptom:

When you click Save, Open, or Cancel in the File Download dialog box, the window that launches the File Download dialog box unexpectedly closes.

<div class="cause_section">

CAUSE
This problem may occur if you are running Microsoft Windows XP Service Pack 2 (SP2). This problem occurs because of a change in behavior in Internet Explorer when it runs in Windows XP SP2.

The MIME handling feature is changed when it processes a download from a pop-up window. In this scenario, the MIME handling feature closes the pop-up window when the downloaded content is sent from the Web server by using the &quot;content-disposition; attachment&quot; HTTP header.

<div class="resolution_section">

Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
You must have Windows XP SP2 installed to apply the hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

322389 How to obtain the latest Windows XP service pack

Restart requirement
You must restart the computer after you apply the hotfix.

Hotfix replacement information
The hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel. <pre class="fixed_text">  Date         Time   Version         Size       File name --  25-Mar-2005  05:46  6.0.2900.2640   1,484,800  Shdocvw.dll

Hotfix installation information
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Note This update is also included in cumulative updates starting after MS05-025 (883939). The cumulative update does not require the following steps to enable the changed behavior. The following registry changes are required only if you install this specific hotfix (896017).

After you install this hotfix and then restart the computer, you must configure a registry setting to enable the changes that this hotfix makes. To do this, follow these steps: <ol> Quit Internet Explorer if it is running.</li> Click Start, click Run, type regedit, and then click OK.</li> Locate and then click the following registry subkey:

Note If the FeatureControl subkey does not exist, add it. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Right-click Main, point to New, and then click Key.</li> In the New Key #1 box, type FeatureControl, and then press ENTER.</li></ol> </li> Right-click FeatureControl, point to New, and then click Key.</li> In the New Key #1 box, type FEATURE_Enable_WindowOpen_when_ContentDisposition_Attachment_KB896017, and then press ENTER.</li> Right-click FEATURE_Enable_WindowOpen_when_ContentDisposition_Attachment_KB896017, point to New, and then click DWORD Value.</li> In the New Value # 1 box, type iexplore.exe, and then press ENTER.</li> Right-click iexplore.exe, and then click Modify.</li> In the Value data box, type 00000001, and then click OK.</li> Quit Registry Editor.</li></ol>

<div class="workaround_section">

WORKAROUND
To work around this problem, change the client HTML code to use a &quot;target&quot; value for the POST command that is sent to the server. For example, consider the following example code: <form method=&quot;POST&quot; action=&quot;download.asp&quot;> To work around this problem, change this example code to the following code: <form method=&quot;POST&quot; action=&quot;download.asp&quot; target=&quot;_top&quot;>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional query words: IE, popup, unexpectedly, content-disposition, attachment

Keywords: kbbug kbfix kbqfe kbhotfixserver KB896017

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.