Article ID: 976949 - Last Review: July 1, 2010 - Revision: 4.0 You receive a VBScript "Type Mismatch" script error message in Internet Explorer after you install cumulative security update 974455
INTRODUCTION
Cumulative security update for Internet Explorer 974455 (described in MS09-054
(http://www.microsoft.com/technet/security/bulletin/MS09-054.mspx)
) introduced additional "Type" safety checks into various methods to address identified security vulnerabilities. Under certain scenarios, these new type safety checks can result in "Type Mismatch" script errors in Web pages that use VBScript or in Web pages that use a mixture of VBScript and JavaScript. For more information about MS09-054, click the following article number to view the article in the Microsoft Knowledge Base: 974455
(http://support.microsoft.com/kb/974455/
)
MS09-054: Cumulative security update for Internet Explorer
SYMPTOMS
Web pages that use VBScript as the client-side scripting language and that use the showModalDialog() or the showModelessDialog() methods may encounter a "Type Mismatch" script error. Microsoft has identified the following three scenarios in which a "Type Mismatch" script error could be generated:
CAUSE
Cumulative security update for Internet Explorer MS09-054
(http://www.microsoft.com/technet/security/bulletin/MS09-054.mspx)
was released to address identified security vulnerabilities in Internet Explorer. As part of the cumulative security update, Internet Explorer introduced new checks against unintended casting of VARIANT Type parameters into dangerous data types. The additional security checks impose additional security restraints on VARIANT Type parameters that are being passed as part of user-controlled variables in order to protect the user from certain kinds of attacks. These additional checks may affect legitimate browsing scenarios that use VARIANT data types.
RESOLUTION
To resolve this problem, install update 976749 after you install security update 974455.
For more information about this issue, click the following article number to view the article in the Microsoft Knowledge Base:
976749
(http://support.microsoft.com/kb/976749/
)
An update is available for Internet Explorer that resolves issues that occur after you apply security update 974455 (MS09-054)
Important Do not install update 976749 if you have not installed security update 974455. If you install update 976749 without first installing security update 974455, Internet Explorer may not work correctly. If this occurs, uninstall update 976749, install security update 974455, and then reinstall update 976749. WORKAROUND
We recommend that you continue to apply cumulative security update 974455 and that you install update 976749 if you experience the symptoms that are described in this article. Customers who decide to remove the cumulative security update will put their systems at risk.
For the first and second scenarios that are discussed in the "Symptoms" section, you can implement a workaround if you do not want to install security update 974455. To work around the issue, explicitly declare the Array() variable into a VBScript variable. Arrays can be passed to the showModalDialog() or the showModelessDialog() methods without a "Type Mismatch" script error. For example, the following VBScript will cause a "Type Mismatch" script error. For example, the following VBScript generates a "Type Mismatch" script error. For example, the following VBScript generates a "Type Mismatch" script error. STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use
(http://go.microsoft.com/fwlink/?LinkId=151500)
for other considerations. APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|





















Back to the top