FIX: You receive a "System.InvalidOperationException" error message when you drag a window over a form that contains a DataGrid object (822880)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition

SYMPTOMS

When you drag any window over the window of a Microsoft Visual Studio .NET 2002 application, you receive the following error message:
A first chance exception of type 'System.InvalidOperationException' occurred in system.drawing.dll

Additional information: The object is currently in use elsewhere.
This problem occurs when the following conditions are true:
  • The application uses threads to create more than one window.
  • The window that is created by threads contains a form with a DataGrid object.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, 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.

Note The supported hotfix is for the Japanese (JPN) version only. If you require a version other than the JPN version, contact Microsoft Product Support Services.

STATUS

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

MORE INFORMATION

For additional information about the terminology that is used to describe Microsoft product updates, 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


Modification Type:MinorLast Reviewed:10/18/2005
Keywords:kbvs2002sp1sweep kbQFE kbBug kbfix KB822880 kbAudDeveloper