Windows Presentation Foundation terminal server print W has encountered a problem and needs to close. We are sorry for the in convenience.

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

Symptoms

 When trying to print to a redirected printer the print job might go through successfully, but you might experience the following error:

" Windows Presentation Foundation terminal server print W has encountered a problem and needs to close. We are sorry for the inconvenience. "

On the client machine event log, you may see the following event:

Event Type: Error
Event Source: .NET Runtime 2.0 Error Reporting
Event Category: None
Event ID: 5000
Date: MM/DD/YEAR
Time: HH:MM:SS AM/PM
User: N/A
Computer: CLIENTWORKSTATIONNAME
Description:
EventType clr20r3, P1 tswpfwrp.exe, P2 3.0.6920.1109, P3 470bc7c1, P4 windowsbase,

P5 3.0.0.0, P6 470bc68a, P7 f92, P8 36, P9 system.io.fileformatexception, P10 NIL.

Cause

An issue with the "Windows Presentation Foundation Terminal Server Print Wrapper" that ships with the .NET Framework 3.0 Service Pack 1 (SP1).

%systemroot%\system32\Tswpfwrp.exe

Note:  Windows Server 2008 SP1 ships with the .NET Framwork 3.0 SP1.

Resolution

1.  On the Windows XP make sure that at least .NET Framework 3.0 Service Pack 1 (SP1) is installed

Microsoft .NET Framework 3.0 Service Pack 1
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=ec2ca85d-b255-4425-9e65-1e88a0bdb72a

2.  On the Windows XP, or Windows Server 2003 or Windows Vista or Windows Server 2008 or Windows 7 or Windows Server 2008 R2 clients, update the Tswpfwrp.exe to a newer version such as 3.0.6920.1201 in:

946411 FIX: When you print an XPS file on a Windows XP Service Pack 2 or Service Pack 3-based computer, the characters in the XPS file print incorrectly
http://support.microsoft.com/?id=946411

or the latest which is in:

954744 FIX: Some pages are printed in the incorrect orientation when you use Terminal Services Easy Print to print a document that contains both portrait-oriented pages and landscape-oriented pages
http://support.microsoft.com/?id=954744

3.  On the RDS/DC server you might also want to make sure your permissions are set properly per:

968605 Terminal Server Easy Print not printing
http://support.microsoft.com/?id=968605  

 

More Information

946411 FIX: When you print an XPS file on a Windows XP Service Pack 2 or Service Pack 3-based computer, the characters in the XPS file print incorrectly
http://support.microsoft.com/?id=946411

954744 FIX: Some pages are printed in the incorrect orientation when you use Terminal Services Easy Print to print a document that contains both portrait-oriented pages and landscape-oriented pages
http://support.microsoft.com/?id=954744

968605 Terminal Server Easy Print not printing
http://support.microsoft.com/?id=968605

http://www.microsoft.com/PrintServer

http://blogs.msdn.com/print

http://blogs.technet.com/askperf

 

APPLIES TO:

Windows Server 2008 Service Pack 1 (SP1)

Windows Server 2008 Service Pack 2 (SP2) 

 

KEYWORDS:

print W; redirection; Tswpfwrp.exe; 5000; Windows Presentation Foundation;

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2021394 - Last Review: April 1, 2010 - Revision: 2.0
APPLIES TO
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Datacenter without Hyper-V
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Enterprise without Hyper-V
  • Windows Server 2008 for Itanium-Based Systems
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Datacenter without Hyper-V
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Enterprise without Hyper-V
  • Windows Server 2008 R2 Foundation
  • Windows Server 2008 R2 Standard
  • Windows Server 2008 R2 Standard without Hyper-V
  • Windows Server 2008 Service Pack 2
  • Windows Server 2008 Standard
  • Windows Server 2008 Standard without Hyper-V
Keywords: 
KB2021394

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