FIX: "Object Reference Error" error message when you add the System Monitor Control to a Windows Form (327570)



The information in this article applies to:

  • Microsoft .NET Framework 1.0 SP2
  • Microsoft Visual Studio .NET (2002), Professional Edition

This article was previously published under Q327570

SYMPTOMS

When you try to add the System Monitor Control (Sysmon.ocx) to a Windows Form, you receive the following error message:
Object Reference Error

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft .NET Framework service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. 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
   -------------------------------------------------------------------------
   17-Aug-2002   06:40   1.0.3705.308   1,175,552   System.data.dll  
   17-Aug-2002   06:38   1.0.3705.308   1,986,560   System.windows.forms.dll  
				

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

The System Monitor Control is available with Microsoft Windows 2000 and Microsoft Windows XP.

Steps to Reproduce the Behavior

To reproduce the behavior, follow these steps:
  1. In Visual Studio .NET, create a new Windows Application project.
  2. Right-click in the Control toolbox, and then click Customize toolbox.
  3. In the dialog box, click Browse, locate the Sysmon.ocx file, and then click this file to select it. Sysmon.ocx is located in the \WINDOWS\SYSTEM32 folder (or equivalent).
  4. Click OK to close the dialog box.
  5. Add an instance of the control from the toolbox to your Windows Form.

Modification Type:MinorLast Reviewed:10/11/2005
Keywords:kbHotfixServer kbQFE kbvs2002sp1sweep kbbug kberrmsg kbfix kbNetFrame100preSP3fix kbQFE KB327570