FIX: When you run an application to send HTTPS Web requests to a server on a Windows Embedded CE 6.0-based device, a "System.Net.WebException" exception occurs


You have a Windows Embedded CE 6.0-based device that has the Microsoft .NET Compact Framework 3.5 installed. When you run an application to send HTTPS Web requests to a server on the device, a System.Net.WebException exception occurs. Additionally, you receive the following error message:
Unable to read data from the transport connection. System.Net.Sockets.SocketException: Unknown error (0x0).


This problem occurs when the server sends an empty encryption packet to the device during a secure communication. In this scenario, the .NET Compact Framework runtime treats the empty encryption packet as a signal to end the connection.


Software update information

A supported software update is now available from Microsoft as Windows CE 6.0 Platform Builder Monthly Update (March 2009). You can confirm this by scrolling to the "File information" section of this article. The package file name contains the product version, date, Knowledge Base article number, and processor type. The package file name format is:
Product version-yymmdd-kbnnnnnn-processor type
For example: Wincepb50-060503-kb917590-armv4i.msi is the ARMV4i Windows CE 5.0 Platform Builder fix that is documented in KB article 917590 and that is contained in the May 2006 monthly update. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:
837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products


This update is supported only if all previously issued updates for this product have been installed.

Restart requirement

After you apply this software update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build menu, click Clean, and then click Build Platform.
  • On the Build menu, click Rebuild Platform.
You do not have to restart the computer after you apply this software update.

Update replacement information

This update does not replace any other updates.

File information

The English version of this software update package 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.

File nameFile sizeDateTime

File nameFile sizeDateTimePath
Windows embedded ce 6.0_update_kb969240.htm6,54419-Mar-200922:09090320_kb969240


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

Article ID: 969240 - Last Review: Feb 16, 2017 - Revision: 3