Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 959423 - Last Review: December 9, 2008 - Revision: 1.0
Error message when you try to add the Chart Control ActiveX control or the Masked Edit Control ActiveX control to a form in Visual Studio .NET 2003 Service Pack 1 or in Visual Studio .NET 2002 Service Pack 1: "Failed to import the ActiveX control"
You apply security update 958392 for Microsoft Visual
Studio .NET 2002 Service Pack 1 (SP1) or security update 958393 for Microsoft
Visual Studio .NET 2003 Service Pack 1 (SP1). Then, you try to add the
Chart Control ActiveX control (Mschrt20.ocx) or the
Masked Edit Control ActiveX control (Msmask32.ocx) to a form.
When you do this, you may receive an error message that resembles the
following:
Failed to import the ActiveX control. Please
ensure it is properly registered.
This issue occurs because the
Chart Control
ActiveX control (Mschrt20.ocx) or the
Masked Edit Control
ActiveX control (Msmask32.ocx) is incompletely registered after you apply
security update 958392 or security update 958393.
To work around this issue, manually reregister the new
ActiveX controls by running the following commands:
%windir%\system32\regsvr32.exe %windir%\system32\mschrt20.ocx
%windir%\system32\regsvr32.exe %windir%\system32\msmask32.ocx
APPLIES TO
- Microsoft Visual Studio .NET 2002 Service Pack 1, when used with:
- Microsoft Visual Studio .NET 2002 Professional Edition
- Microsoft Visual Studio .NET 2002 Enterprise Architect
- Microsoft Visual Studio .NET 2002 Enterprise Developer
- Microsoft Visual Basic .NET 2002 Standard Edition
- Microsoft Visual C++ .NET 2002 Standard Edition
- Microsoft Visual C# .NET 2002 Standard Edition
- Microsoft Visual Studio .NET 2003 Service Pack 1, when used with:
- Microsoft Visual Studio .NET 2003 Professional Edition
- Microsoft Visual Studio .NET 2003 Enterprise Architect
- Microsoft Visual Studio .NET 2003 Enterprise Developer
- Microsoft Visual Basic .NET 2003 Standard Edition
- Microsoft Visual C++ .NET 2003 Standard Edition
- Microsoft Visual C# .NET 2003 Standard Edition
- Microsoft Visual J# .NET 2003 Standard Edition
| kbsurveynew kbexpertiseadvanced kbfix kbbug kbsecurity kbqfe KB959423 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please