Stack Overflow Error Message Appears for the Mshta.exe File When Multiple Modal Dialog Boxes Are Open
This article has been archived. It is offered "as is" and will no longer be updated.
When you try to open multiple modal dialog boxes in Internet Explorer, or in Mshta.exe (an HTML program), you may receive a stack overflow error message.
This problem may occur if the number of modal dialog boxes exceeds the amount of memory (the stack file) that is permitted for modal dialog boxes.
This problem may occur more frequently in Mshta.exe because the stack file in Mshta.exe is smaller than the stack file in Internet Explorer.
A supported hotfix is 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 software update that contains this hotfix.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if 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. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
The English version of this fix has the file attributes (or later) 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.
Date Time Version Size File name--------------------------------------------------02-Apr-2003 17:48 6.0.2800.1182 24,576 Mshta.exe
To work around this problem, reduce the number of modal dialog boxes that are open at the same time. Follow the prompt in each of the modal dialog boxes to close them.
Microsoft has confirmed that this is a problem in Microsoft Internet Explorer 6.
Modal dialog boxes are message boxes that must be closed before you can continue working in the program where the modal dialog box appears. Frequently, a modal dialog box displays an error or alert message.
Note The hotfix that is provided in the "Resolution" section of this article increases the size of the stack file in Mshta.exe. However, the hotfix does not increase the size of the stack file in Internet Explorer. This problem may continue to occur after you apply this hotfix, but the hotfix reduces the frequency of this problem.
Article ID: 816362 - Last Review: 12/08/2015 02:13:31 - Revision: 4.0
Microsoft Internet Explorer 6.0
- kbnosurvey kbarchive kbautohotfix kbhotfixserver kbqfe kbprb kbIE600sp2fix kbie600presp2fix kbfix kbbug KB816362