FIX: You receive a NullReferenceException exception when you run a .NET Framework 2.0-based application that uses the ShowDialog method, and the method specifies an IWin32Window owner

Article translations Article translations
Article ID: 941132 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

You have a Microsoft .NET Framework 2.0-based application on a computer that is using a 64-bit processor. The application uses the ShowDialog method, and the method specifies an IWin32Window owner. When this application runs, you receive a NullReferenceException exception.

RESOLUTION

Hotfix information



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. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

To download this hotfix from the MSDN Code Gallery, visit the following Microsoft Web site:
http://code.msdn.microsoft.com/KB941132

Note The MSDN Code Gallery displays the languages for which the hotfix is available. If you do not see your language listed, it is because the Code Gallery resource page is not available for that language.

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 Web site:
http://support.microsoft.com/contactus/?ws=support

Prerequisites

You must have the Itanium-based version or the x64-based version of the .NET Framework 2.0 installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) 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 item in Control Panel.
64-bit versions of the .NET Framework 2.0 on a computer that is not running Windows Vista
Collapse this tableExpand this table
File nameFile versionFile sizeDateTime
System.windows.forms.dll2.0.50727.9225,148,67221-Aug-200702:58
System.windows.forms.dll2.0.50727.9225,148,67221-Aug-200703:30
The .NET Framework 2.0 on a computer that is running an x64-based version of Windows Vista
Collapse this tableExpand this table
File nameFile versionFile sizeDateTime
System.windows.forms.dll2.0.50727.9235,148,67226-Aug-200722:56
System.windows.forms.resources.dll2.0.50727.312483,32817-Feb-200700:27
System.windows.forms.resources.dll2.0.50727.312425,98402-Feb-200702:19
System.windows.forms.resources.dll2.0.50727.312409,60002-Feb-200700:58
System.windows.forms.resources.dll2.0.50727.312430,08007-Jan-200705:26
System.windows.forms.resources.dll2.0.50727.312573,44002-Feb-200702:18
System.windows.forms.resources.dll2.0.50727.312425,98402-Nov-200601:23
System.windows.forms.resources.dll2.0.50727.312413,69602-Feb-200701:03
System.windows.forms.resources.dll2.0.50727.312430,08017-Feb-200700:29
System.windows.forms.resources.dll2.0.50727.312450,56002-Feb-200702:28
System.windows.forms.resources.dll2.0.50727.312434,17602-Nov-200601:24
System.windows.forms.resources.dll2.0.50727.312425,98402-Nov-200601:25
System.windows.forms.resources.dll2.0.50727.312466,94407-Jan-200705:27
System.windows.forms.resources.dll2.0.50727.312430,08005-Jun-200700:28
System.windows.forms.resources.dll2.0.50727.312401,40802-Feb-200701:11
System.windows.forms.resources.dll2.0.50727.312446,46405-Jun-200700:34
System.windows.forms.resources.dll2.0.50727.312425,98402-Feb-200702:49
System.windows.forms.resources.dll2.0.50727.312417,79202-Feb-200702:54
System.windows.forms.resources.dll2.0.50727.312421,88802-Feb-200702:52
System.windows.forms.resources.dll2.0.50727.312536,57605-Feb-200706:59
System.windows.forms.resources.dll2.0.50727.312409,60002-Feb-200702:59
System.windows.forms.resources.dll2.0.50727.312417,79202-Feb-200702:57
System.windows.forms.resources.dll2.0.50727.312376,83205-Jun-200700:43
System.windows.forms.resources.dll2.0.50727.312380,92805-Jun-200700:44

STATUS

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

MORE INFORMATION

For more information about the ShowDialog method, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/w61zzfwe.aspx
For more information about the NullReferenceException exception, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/system.nullreferenceexception(vs.80).aspx
For more information about software update terminology, 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

Properties

Article ID: 941132 - Last Review: October 8, 2011 - Revision: 2.0
APPLIES TO
  • Microsoft .NET Framework 2.0 IA64 Edition
  • Microsoft .NET Framework 2.0 x64 Edition
Keywords: 
kbexpertiseadvanced kbfix kbqfe KB941132

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com