FIX: A custom .NET Framework 4 application that uses Windows Forms may not print or may not apply defined printer settings in Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7, or Windows Server 2008 R2

Article translations Article translations
Close Close
Article ID: 2702328

Applies to

This article applies to the following:
  • The Microsoft .NET Framework 4 when used with:
    • Windows 7
    • Windows 7 Service Pack 1
    • Windows Server 2008 R2
    • Windows Server 2008 R2 Service Pack 1
    • Windows Vista Service Pack 2
    • Windows Server 2008 Service Pack 2
    • Windows XP Service Pack 3
    • Windows Server 2003 Service Pack 2
Expand all | Collapse all

On This Page

SYMPTOMS

Consider the following scenario:
  • You apply security update 2656368 to a computer that is running one of the following operating systems:
    • Windows XP Service Pack 3 
    • Windows Server 2003 Service Pack 2 
    • Windows Vista Service Pack 2 
    • Windows Server 2008 Service Pack 2 
    • Windows 7 
    • Windows 7 Service Pack 1 
    • Windows Server 2008 R2 
    • Windows Server 2008 R2 Service Pack 1
  • You run a custom Microsoft .NET Framework 4 application that uses Windows Forms.

In this scenario, you may experience the following issues:
  • The custom application may not print when the application uses a custom print controller. This problem may manifest itself as a failure to print without error messages even when the page is not printed.
  • Printer settings that are defined in the custom application may not be applied. (Such settings include page size, layout, paper tray, and so on.) Instead, the default printer settings may be applied.

For more information about security update 2656368, click the following article number to view the article in the Microsoft Knowledge Base:
2656368 MS12-025: Description of the security update for the .NET Framework 4 on Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2: April 10, 2012

RESOLUTION

Download information

This hotfix is available for download from the Microsoft Download Center:
Collapse this imageExpand this image
Download
Download the x86-based version of this hotfix package now.

Collapse this imageExpand this image
Download
Download the x64-based version of this hotfix package now.

Collapse this imageExpand this image
Download
Download the IA-64-based version of this hotfix package now.
For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Prerequisites

To install this hotfix, you must have Windows Installer 3.1 or a later version installed on the computer. To obtain the latest version of Windows Installer, go to the following Microsoft website:
http://go.microsoft.com/fwlink/?LinkID=132022

Command-line switches for this hotfix

For information about the various command-line switches that are supported by this hotfix, go to the following Microsoft Developer Network (MSDN) website:
http://msdn.microsoft.com/en-us/library/Aa367988

Restart information

This hotfix does not require a system restart after you apply it unless files that are being updated are locked or are being used.

Hotfix replacement information

This hotfix does not replace any previously released hotfix.

Hotfix removal information

To remove this hotfix, use the Add or Remove Programs item or use the Programs and Features item in Control Panel.

File information

The English (United States) version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
For all supported x86-based versions of systems
Collapse this tableExpand this table
File nameFile versionFile sizeDateTime
Setup.exe10.0.30319.56878,91221-Apr-201217:10
SetupEngine.dll10.0.30319.568810,57621-Apr-201217:10
SetupUi.dll10.0.30319.568296,52021-Apr-201217:10
System.Drawing.dll4.0.30319.568616,02421-Apr-201217:12
For all supported x64-based versions of systems
Collapse this tableExpand this table
File nameFile versionFile sizeDateTime
Setup.exe10.0.30319.56878,91221-Apr-201217:10
SetupEngine.dll10.0.30319.568810,57621-Apr-201217:10
SetupUi.dll10.0.30319.568296,52021-Apr-201217:10
System.Drawing.dll4.0.30319.568616,02421-Apr-201217:12
For all supported IA-64-based versions of systems
Collapse this tableExpand this table
File nameFile versionFile sizeDateTime
Setup.exe10.0.30319.56878,91221-Apr-201217:10
SetupEngine.dll10.0.30319.568810,57621-Apr-201217:10
SetupUi.dll10.0.30319.568296,52021-Apr-201217:10
System.Drawing.dll4.0.30319.568616,02421-Apr-201217:12

STATUS

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

Properties

Article ID: 2702328 - Last Review: May 17, 2012 - Revision: 1.0
Keywords: 
kbqfe kbhotfixserver kbfix kbbug kbexpertiseinter kbsurveynew KB2702328

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