Microsoft KB Archive/912240

= ActiveSync 4.1 and ActiveSync 4.0 cannot recognize a Windows Mobile 5.0-based device when you connect the device to a personal computer by using a USB cable or a cradle =

Article ID: 912240

Article Last Modified on 11/29/2007

-

APPLIES TO


 * Windows Mobile 5.0 for Pocket PC
 * Windows Mobile 5.0 for Pocket PC Phone Edition
 * Windows Mobile 5.0 for Smartphones
 * Microsoft ActiveSync 4.1
 * Microsoft ActiveSync 4.0

-





SYMPTOMS
When you connect a Microsoft Windows Mobile 5.0-based device to a personal computer by using a USB cable or a cradle, Microsoft ActiveSync 4.1 and Microsoft ActiveSync 4.0 cannot recognize the Windows Mobile 5.0-based device.



CAUSE
This problem occurs when a firewall application blocks ActiveSync application processes. Firewall applications are designed to help block network traffic and help secure the personal computer from incoming network connections. Because ActiveSync uses TCP ports for data transfer with Windows Mobile-based devices, you may have to unblock this traffic in the firewall application. You must add the ActiveSync application processes to the firewall application exception list.

Sometimes, when you add ActiveSync 4.1 or ActiveSync 4.0 to the firewall application exception list, the firewall application will not let the communication between ActiveSync and the Windows Mobile 5.0 device succeed. This behavior occurs in the following cases and may occur in other cases:
 * Firewall-hook drivers prevent successful synchronized communications. When you use Microsoft Windows XP, contact the firewall vendor to verify that you are using the version of the firewall that works best with Windows XP.
 * You use a firewall that implements its own TCP/IP stack. Certain firewalls can implement all Windows TCP/IP interfaces and APIs. These firewalls can also mimic the TCP/IP stack in Windows XP. In this case, the TCP/IP stack of the firewall may not handle the synchronized communication and the Windows TCP/IP stack. This behavior causes problems or communication failures between the Windows Mobile 5.0-based device and ActiveSync.



RESOLUTION
To resolve this problem, contact the firewall vendor to determine whether one of the following conditions is true:
 * The firewall is designed as a firewall-hook driver.
 * The firewall uses the firewall that is included with Windows XP Service Pack 2 (SP2).

For more information about firewall troubleshooting steps, visit the following Microsoft Web site:

http://www.microsoft.com/windowsmobile/help/activesync/default.mspx



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
We do not recommend that firewall vendors implement their firewalls as a firewall-hook driver. Additionally, we do not recommend that firewall vendors implements their firewalls as a firewall driver for Windows XP and for later versions of the operating system.

The Microsoft Windows 2000 Driver Development Kit (DDK) introduced the concept of a firewall-hook driver. A firewall-hook driver was intended to manage network packets that were sent and received across a firewall in the context of the TCP/IP protocol.

A firewall-hook driver did not meet the firewall requirements because the driver ran too high in the network stack. A firewall-hook driver could also interfere with the operation of Internet Connection Sharing or a personal firewall.

To provide firewall functionality in Windows XP and in later versions of the operating system, firewall vendors should create a network driver interface specification (NDIS) intermediate miniport driver to manage packets that are sent and received across a firewall.

For more information, visit the following Microsoft Developer Network (MSDN) Web sites:

Firewall-hook drivers

http://msdn2.microsoft.com/en-us/library/aa504964.aspx

Windows Firewall

http://msdn2.microsoft.com/en-us/library/ms940335.aspx

NDIS intermediate drivers

http://msdn2.microsoft.com/en-us/library/aa504394.aspx

Keywords: kbtshoot kbbug kbprb KB912240

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.