Microsoft KB Archive/310924

= BUG: ActiveSync Stops Responding When You Try to Stop Synchronization =

Article ID: 310924

Article Last Modified on 8/18/2005

-

APPLIES TO


 * Microsoft ActiveSync 3.6
 * Microsoft ActiveSync 3.5
 * Microsoft ActiveSync 3.1
 * Microsoft ActiveSync 3.0

-



This article was previously published under Q310924



SYMPTOMS
When you synchronize very large objects between the device and your desktop, Microsoft ActiveSync may stop responding (hang) when you attempt to stop synchronization. The ActiveSync user interface shows the status as &quot;Stopping...&quot; and the green wheel continues to spin.



CAUSE
During the synchronization of large objects, the IReplObjHandler::GetPacket method may be called multiple times. If you decide to stop synchronization in between the first and last GetPacket calls, ActiveSync Manager does not send the Cancel packet to the device side. In other words, the behavior described in the &quot;Symptoms&quot; section of this article occurs when ActiveSync has been implemented to transfer a large object in multiple packets, and, during this transfer, you press Stop in the ActiveSync application.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
ActiveSync Manager continuously calls IReplObjHandler::GetPacket until RWRN_LAST_PACKET is returned by GetPacket.

If the size of your synchronization object is greater than the cbRecommend parameter of GetPacket, it is highly recommended that you send only the number of bytes advised by the cbRecommend parameter to the device, and then send the rest of the bytes in the next call to GetPacket.

GetPacket should return NOERROR if it has more data to send to the device.

Additional query words: IReplObjHandler GetPacket ActiveSync

Keywords: kbbug kbpending KB310924

-

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

© Microsoft Corporation. All rights reserved.