When you run an application that calls WinInet APIs and uses the Negotiate protocol which selects the NTLM authentication on a Windows Embedded CE 6.0-based device, your credentials do not work

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

On This Page

SYMPTOMS

You have an application that uses Windows Internet (WinInet) APIs to access Internet resources on a Windows Embedded CE 6.0-based device. The application uses the Negotiate protocol which selects the NTLM authentication. When you run the application, your credentials do not work. For example, when you use a user account to access a server that is running Microsoft Exchange Server 2010, you repeatedly receive the following error message:
Failure to Authenticate User, with times=0x00000001 and response=401

CAUSE

This problem occurs because the security context is not maintained by the WinInet APIs. Therefore, the WinInet APIs accidentally close the socket on the Negotiate protocol.

RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows CE 6.0 Platform Builder Monthly Update (June 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

Prerequisites

This update is supported only if all previously issued updates for this product have also 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.

Collapse this tableExpand this table
File nameFile sizeDateTime
Wincepb60-090602-kb971671-armv4i.msi6,099,45602-Jun-200923:27
Wincepb60-090602-kb971671-mipsii.msi5,814,27202-Jun-200923:27
Wincepb60-090602-kb971671-mipsii_fp.msi5,815,80802-Jun-200923:27
Wincepb60-090602-kb971671-mipsiv.msi5,868,03202-Jun-200923:27
Wincepb60-090602-kb971671-mipsiv_fp.msi5,872,12802-Jun-200923:27
Wincepb60-090602-kb971671-sh4.msi5,711,87202-Jun-200923:27
Wincepb60-090602-kb971671-x86.msi5,320,70402-Jun-200923:27


Collapse this tableExpand this table
File nameFile sizeDateTimePath
Windows embedded ce 6.0_update_kb971671.htm7,71602-Jun-200923:12090602_kb971671
Wininet.lib9,220,80826-May-200901:34Public\Ie\Oak\Lib\Armv4i\Debug
Wininet.lib6,629,03626-May-200901:08Public\Ie\Oak\Lib\Armv4i\Retail
Wininet.lib8,705,04226-May-200902:31Public\Ie\Oak\Lib\Mipsii\Debug
Wininet.lib6,272,14826-May-200902:03Public\Ie\Oak\Lib\Mipsii\Retail
Wininet.lib8,706,86826-May-200903:28Public\Ie\Oak\Lib\Mipsii_fp\Debug
Wininet.lib6,274,06626-May-200903:00Public\Ie\Oak\Lib\Mipsii_fp\Retail
Wininet.lib8,828,87826-May-200904:24Public\Ie\Oak\Lib\Mipsiv\Debug
Wininet.lib6,354,58826-May-200903:57Public\Ie\Oak\Lib\Mipsiv\Retail
Wininet.lib8,830,68226-May-200905:21Public\Ie\Oak\Lib\Mipsiv_fp\Debug
Wininet.lib6,356,50826-May-200904:53Public\Ie\Oak\Lib\Mipsiv_fp\Retail
Wininet.lib7,900,58826-May-200906:17Public\Ie\Oak\Lib\Sh4\Debug
Wininet.lib5,879,00426-May-200905:50Public\Ie\Oak\Lib\Sh4\Retail
Wininet.lib7,572,83026-May-200900:39Public\Ie\Oak\Lib\X86\Debug
Wininet.lib5,900,46426-May-200900:13Public\Ie\Oak\Lib\X86\Retail

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

Properties

Article ID: 971671 - Last Review: September 1, 2009 - Revision: 1.0
APPLIES TO
  • Windows Embedded CE 6.0
Keywords: 
kbfix kbexpertiseadvanced kbsurveynew kbqfe KB971671

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