FIX: Error message when you send a Web request from a Windows CE 5.0-based device to a server which has HTTP Keep-Alives enabled after you manually change the IP address for the device: "Cannot Find Server or DNS Error"

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

On This Page

SYMPTOMS

Consider the following scenario:
  • You connect a Windows CE 5.0-based device to a server which has HTTP Keep-Alives enabled through a Windows Internet (WinINet) application.
  • You manually change the IP address for the device.
  • You send a Web request to the server.
In this scenario, the Web request is blocked for about two minutes. Then, you receive an error message in the browser that resembles the following:

The Page Cannot Be Displayed
. . .
Cannot Find Server or DNS Error

CAUSE

This problem occurs because the WinINet components do not receive the notification about the IP address change and reuse an existing connection. Therefore, the server responds to the old IP address, and the Windows CE 5.0-based device cannot receive the response. An error code returns when the network request times out.

RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows CE 5.0 Platform Builder Monthly Update (April 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
To fix the problem, set the value of the EnableKillKASocketsOnAddrChange registry key to 1 after you apply the hotfix. The registry key is under the
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
registry subkey.

Notes
  • The default value of the registry key is 0.
  • After you set the value to 1, the WinINet components check for any changes in the IP address, and then close all open sockets when a change is detected.

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 OS menu, make sure that the following options are selected, and then click Sysgen:
    • Clean Before Building
    • Copy Files to Release Directory After Build
    • Make Run-Time Image After Build
  • On the Build OS menu, click Open Release Directory. At a command prompt type the following command, and then press ENTER:
blddemo clean -q


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
Wincepb50-090430-kb961887-armv4i.msi5,349,37630-Apr-200919:40
Wincepb50-090430-kb961887-mipsii.msi5,391,87230-Apr-200919:40
Wincepb50-090430-kb961887-mipsii_fp.msi5,393,92030-Apr-200919:40
Wincepb50-090430-kb961887-mipsiv.msi5,461,50430-Apr-200919:40
Wincepb50-090430-kb961887-mipsiv_fp.msi5,462,01630-Apr-200919:40
Wincepb50-090430-kb961887-sh4.msi5,152,76830-Apr-200919:40
Wincepb50-090430-kb961887-x86.msi4,736,00030-Apr-200919:40


Collapse this tableExpand this table
File nameFile sizeDateTimePath
Windows ce 5.0_update_kb961887.htm8,47430-Apr-200918:45090430_kb961887
Wininet.lib7,975,20616-Apr-200923:29Public\Ie\Oak\Lib\Armv4i\Debug
Wininet.lib5,918,14016-Apr-200923:28Public\Ie\Oak\Lib\Armv4i\Retail
Wininet.lib8,017,66816-Apr-200923:31Public\Ie\Oak\Lib\Mipsii\Debug
Wininet.lib5,677,13416-Apr-200923:30Public\Ie\Oak\Lib\Mipsii\Retail
Wininet.lib8,019,08416-Apr-200923:33Public\Ie\Oak\Lib\Mipsii_fp\Debug
Wininet.lib5,678,78216-Apr-200923:32Public\Ie\Oak\Lib\Mipsii_fp\Retail
Wininet.lib8,138,64416-Apr-200923:35Public\Ie\Oak\Lib\Mipsiv\Debug
Wininet.lib5,701,65016-Apr-200923:34Public\Ie\Oak\Lib\Mipsiv\Retail
Wininet.lib8,140,03816-Apr-200923:38Public\Ie\Oak\Lib\Mipsiv_fp\Debug
Wininet.lib5,703,30416-Apr-200923:36Public\Ie\Oak\Lib\Mipsiv_fp\Retail
Wininet.lib7,251,93416-Apr-200923:27Public\Ie\Oak\Lib\Sh4\Debug
Wininet.lib5,307,85216-Apr-200923:26Public\Ie\Oak\Lib\Sh4\Retail
Wininet.lib6,694,95016-Apr-200923:25Public\Ie\Oak\Lib\X86\Debug
Wininet.lib5,335,17416-Apr-200923:24Public\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: 961887 - Last Review: May 20, 2009 - Revision: 1.1
APPLIES TO
  • Microsoft Windows CE 5.0
Keywords: 
kbfix kbexpertiseadvanced kbsurveynew kbqfe KB961887

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