Data transfer that uses Web Services on Devices fails in Windows 7 SP1 and Windows 8

Applies to: Windows 8Windows 8 EnterpriseWindows 8 Pro

Symptoms


Assume that you have a Web Services on Devices (WSD) server that is running Windows 7 Service Pack 1 (SP1) or Windows 8. In this situation, the transfer fails and the data is corrupted.

Cause


This issue occurs because two additional bytes are added to a file that ends with byte 0x0D when data is sent from the WSD server to a WSD client. The additional bytes are added because the CWSDInboundMIMEHandler::LockAndRead function cannot recognize the carriage-return line-feed (CRLF) that comes before a boundary in the following situations:
  • Data that ends with CR.
  • Data ends with a single hyphen (-).
Therefore, the CRLF before the boundary is added and the transfer fails.

Resolution


Update information for Windows 8

To resolve this issue in Windows 8, install update rollup 2883201. For more information about how to obtain this update rollup package, click the following article number to view the article in the Microsoft Knowledge Base:
2883201 Windows RT, Windows 8, and Windows Server 2012 update rollup: October 2013

Hotfix information for Windows 8 and Windows 7 SP1

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.

If the hotfix is available for download, there is a "Hotfix Download Available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

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: Note The "Hotfix Download Available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running Windows 7 SP1 or Windows 8.

For more information about how to obtain a Windows 7 or Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2

Registry information

To apply this hotfix, you do not have to make any changes to the registry.

Restart requirement

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

Update replacement information

This update does not replace a previously released update.

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 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

Additional file information

Additional file information for Windows 7 SP1

Additional files for all supported x86-based versions of Windows 7 SP1
File nameX86_426a22152ec10d856b244c75b6582978_31bf3856ad364e35_6.1.7601.18205_none_72ad8f0d928f977b.manifest
File versionNot applicable
File size676
Date (UTC)09-Jul-2013
Time (UTC)23:27
PlatformNot applicable
File nameX86_9bdbeb30695cffbf7349b09a8ff40d90_31bf3856ad364e35_6.1.7601.22380_none_9e43b0d6c8ab3079.manifest
File versionNot applicable
File size676
Date (UTC)09-Jul-2013
Time (UTC)23:27
PlatformNot applicable
File nameX86_wsdapi_31bf3856ad364e35_6.1.7601.18205_none_c0c6aa7aab8fd8ba.manifest
File versionNot applicable
File size6,533
Date (UTC)09-Jul-2013
Time (UTC)05:33
PlatformNot applicable
File nameX86_wsdapi_31bf3856ad364e35_6.1.7601.22380_none_c0f4c673c4f2d959.manifest
File versionNot applicable
File size6,533
Date (UTC)09-Jul-2013
Time (UTC)14:35
PlatformNot applicable
Additional files for all supported x64-based versions of Windows 7 SP1
File nameAmd64_2273fb5dd2f7bb61894a3591b6ed703f_31bf3856ad364e35_6.1.7601.18205_none_2d76fb6f7ace6a66.manifest
File versionNot applicable
File size680
Date (UTC)09-Jul-2013
Time (UTC)23:27
PlatformNot applicable
File nameAmd64_4542c70485912bdac92e25f1cbe611ed_31bf3856ad364e35_6.1.7601.22380_none_1558558586b9e34a.manifest
File versionNot applicable
File size1,002
Date (UTC)09-Jul-2013
Time (UTC)23:27
PlatformNot applicable
File nameAmd64_72f7e154099e40face8c7be22561bb5c_31bf3856ad364e35_6.1.7601.18205_none_577679668012517a.manifest
File versionNot applicable
File size680
Date (UTC)09-Jul-2013
Time (UTC)23:27
PlatformNot applicable
File nameAmd64_b26ce75069b04905a3fe500123b83284_31bf3856ad364e35_6.1.7601.22380_none_1aa5a9ed72b1005d.manifest
File versionNot applicable
File size680
Date (UTC)09-Jul-2013
Time (UTC)23:27
PlatformNot applicable
File nameAmd64_cc43c39fb3c40d52f205717029935051_31bf3856ad364e35_6.1.7601.18205_none_d64865e8bdd31a43.manifest
File versionNot applicable
File size1,002
Date (UTC)09-Jul-2013
Time (UTC)23:27
PlatformNot applicable
File nameAmd64_f2d410652ffa9197d5f4332e68254ab9_31bf3856ad364e35_6.1.7601.22380_none_f138e31f48cfd679.manifest
File versionNot applicable
File size680
Date (UTC)09-Jul-2013
Time (UTC)23:27
PlatformNot applicable
File nameAmd64_wsdapi_31bf3856ad364e35_6.1.7601.18205_none_1ce545fe63ed49f0.manifest
File versionNot applicable
File size6,539
Date (UTC)09-Jul-2013
Time (UTC)06:33
PlatformNot applicable
File nameAmd64_wsdapi_31bf3856ad364e35_6.1.7601.22380_none_1d1361f77d504a8f.manifest
File versionNot applicable
File size6,539
Date (UTC)09-Jul-2013
Time (UTC)15:25
PlatformNot applicable
File nameWow64_wsdapi_31bf3856ad364e35_6.1.7601.18205_none_2739f050984e0beb.manifest
File versionNot applicable
File size5,884
Date (UTC)09-Jul-2013
Time (UTC)05:23
PlatformNot applicable
File nameWow64_wsdapi_31bf3856ad364e35_6.1.7601.22380_none_27680c49b1b10c8a.manifest
File versionNot applicable
File size5,884
Date (UTC)09-Jul-2013
Time (UTC)14:17
PlatformNot applicable

Additional file information for Windows 8

Additional files for Windows RT
File nameArm_769cb425215dbf9f8581fd78ede261a5_31bf3856ad364e35_6.2.9200.16665_none_0c3fbc086e698c07.manifest
File versionNot applicable
File size676
Date (UTC)12-Jul-2013
Time (UTC)21:34
PlatformNot applicable
File nameArm_wsdapi_31bf3856ad364e35_6.2.9200.16665_none_bb77b0e01ea95c8e.manifest
File versionNot applicable
File size6,493
Date (UTC)12-Jul-2013
Time (UTC)03:49
PlatformNot applicable
Additional files for all supported x86-based versions of Windows 8
File nameX86_02e70d94082133f6eaaac4098de84b99_31bf3856ad364e35_6.2.9200.20773_none_b0693933e789da54.manifest
File versionNot applicable
File size676
Date (UTC)12-Jul-2013
Time (UTC)21:20
PlatformNot applicable
File nameX86_830744c1338d2ab22655346f523d6721_31bf3856ad364e35_6.2.9200.16665_none_94b907caa2c3c204.manifest
File versionNot applicable
File size676
Date (UTC)12-Jul-2013
Time (UTC)21:20
PlatformNot applicable
File nameX86_wsdapi_31bf3856ad364e35_6.2.9200.16665_none_bb753e881eac3dc8.manifest
File versionNot applicable
File size6,493
Date (UTC)12-Jul-2013
Time (UTC)02:31
PlatformNot applicable
File nameX86_wsdapi_31bf3856ad364e35_6.2.9200.20773_none_bbf20ad337d3c6d5.manifest
File versionNot applicable
File size6,493
Date (UTC)12-Jul-2013
Time (UTC)07:20
PlatformNot applicable
Additional files for all supported x64-based versions of Windows 8 and of Windows Server 2012
File nameAmd64_22a07d50cf7bff1cd5be5604bdf3ad67_31bf3856ad364e35_6.2.9200.20773_none_eed623b11b18101c.manifest
File versionNot applicable
File size680
Date (UTC)12-Jul-2013
Time (UTC)21:13
PlatformNot applicable
File nameAmd64_75d4ea80ec989fe3a27180d74228a909_31bf3856ad364e35_6.2.9200.20773_none_fc837a8f648ca622.manifest
File versionNot applicable
File size1,002
Date (UTC)12-Jul-2013
Time (UTC)21:13
PlatformNot applicable
File nameAmd64_7759ab5fee616f74ab777a64176355bc_31bf3856ad364e35_6.2.9200.16665_none_d905ff8737d274b9.manifest
File versionNot applicable
File size680
Date (UTC)12-Jul-2013
Time (UTC)21:13
PlatformNot applicable
File nameAmd64_90d742ae22a5860f929030d8a5726722_31bf3856ad364e35_6.2.9200.16665_none_5d8d93ba781e0f37.manifest
File versionNot applicable
File size1,002
Date (UTC)12-Jul-2013
Time (UTC)21:13
PlatformNot applicable
File nameAmd64_b4227331abedcab1c6099795d6251f11_31bf3856ad364e35_6.2.9200.20773_none_9f9eb96db734c9cc.manifest
File versionNot applicable
File size680
Date (UTC)12-Jul-2013
Time (UTC)21:13
PlatformNot applicable
File nameAmd64_dafa47a7e08f5bcfe5d7dbf1ae0db54f_31bf3856ad364e35_6.2.9200.16665_none_5ca97f3ea6c7c7b7.manifest
File versionNot applicable
File size680
Date (UTC)12-Jul-2013
Time (UTC)21:13
PlatformNot applicable
File nameAmd64_wsdapi_31bf3856ad364e35_6.2.9200.16665_none_1793da0bd709aefe.manifest
File versionNot applicable
File size6,499
Date (UTC)12-Jul-2013
Time (UTC)03:51
PlatformNot applicable
File nameAmd64_wsdapi_31bf3856ad364e35_6.2.9200.20773_none_1810a656f031380b.manifest
File versionNot applicable
File size6,499
Date (UTC)12-Jul-2013
Time (UTC)10:31
PlatformNot applicable
File nameWow64_wsdapi_31bf3856ad364e35_6.2.9200.16665_none_21e8845e0b6a70f9.manifest
File versionNot applicable
File size6,254
Date (UTC)12-Jul-2013
Time (UTC)02:33
PlatformNot applicable
File nameWow64_wsdapi_31bf3856ad364e35_6.2.9200.20773_none_226550a92491fa06.manifest
File versionNot applicable
File size6,254
Date (UTC)12-Jul-2013
Time (UTC)07:17
PlatformNot applicable