Consider the following scenario: You have a Microsoft .NET Framework 2.0 Service Pack 2 (SP2) service-based multithread Windows Form application. There are GIF images on the forms of each UI thread so that this application calls the
ImageAnimator class internally.
In this scenario, the application crashes when you run it for a long time. And, you receive the following exception errors:
Exception type: System.Reflection.TargetInvocationException
Message: Exception has been thrown by the target of an invocation.
Inner exception: System.InvalidOperationException
Message: Object is currently in use elsewhere.
The problem occurs because of an issue in the
ImageAnimator.UpdateFrames method.
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.
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 website:
Prerequisites
The following list contains prerequisites for the hotfix package:
- You must have .NET Framework 2.0 SP2 or .NET Framework 3.5 Service Pack 1 (SP1) installed to apply the hotfix.
Restart Requirements
You do not have to restart the computer after you apply this hotfix package.
Hotfix replacement information
This hotfix does not replace a previously released hotfix.
File Information
The English (United States) version of this hotfix package uses a Microsoft Windows Installer package to install the hotfix package. The dates and the times for these files are listed in Coordinated Universal Time (UTC) in the following table. When you view the file information, the date is converted to local time. To find the difference between UTC and local time, use the
Time Zone tab in the Date and Time item in Control Panel.
For the .NET Framework 2.0 SP2 on Windows Server 2003 and Windows XP, 32-bit editionCollapse this tableExpand this table
| File name | File version | File size | Date | Time | Platform |
|---|
| System.windows.forms.dll | 2.0.50727.4468 | 5,025,792 | 02-Aug-2010 | 21:31 | x86 |
For the .NET Framework 2.0 SP2 on Windows Server 2003 and Windows XP, 64-bit edtion
Collapse this tableExpand this table
| File name | File version | File size | Date | Time | Platform |
|---|
| System.windows.forms.dll | 2.0.50727.4468 | 5,025,792 | 02-Aug-2010 | 21:02 | x64 |
For the .NET Framework 2.0 SP2 on Windows Server 2003 and Windows XP, IA-64 editionCollapse this tableExpand this table
| File name | File version | File size | Date | Time | Platform |
|---|
| System.windows.forms.dll | 2.0.50727.4468 | 5,025,792 | 02-Aug-2010 | 21:02 | IA-64 |
For the .NET Framework 2.0 SP2 on Windows 7.0, 32-bit editionCollapse this tableExpand this table
| File name | File version | File size | Date | Time | Platform |
|---|
| System.windows.forms.dll | 2.0.50727.5023 | 5,025,792 | 19-Aug-2010 | 22:30 | x86 |
For the .NET Framework 2.0 SP2 on Windows Server 2008 R2 and Windows 7.0, 64-bit edtion
Collapse this tableExpand this table
| File name | File version | File size | Date | Time | Platform |
|---|
| System.windows.forms.dll | 2.0.50727.5023 | 5,025,792 | 19-Aug-2010 | 22:32 | x64 |
For the .NET Framework 2.0 SP2 on Windows Server 2008 R2, IA-64 editionCollapse this tableExpand this table
| File name | File version | File size | Date | Time | Platform |
|---|
| System.windows.forms.dll | 2.0.50727.5023 | 5,025,792 | 19-Aug-2010 | 22:24 | IA-64 |
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.