Question re: ActiveSync "Sync" command and status 3 error...Here's what I'm doing:<br/> <br/> 1) Send a Sync command for Inbox with syncKey = 0 (first sync)<br/> 2) Receive syncKey = 1 (as expected)<br/> 3) Send Sync command with syncKey = 1<br/> 4) Receive new syncKey = 2 (as expected) and start processing Emails.<br/> <br/> Now, I interrupt my executing code at this point - i.e. before I finish with the first window of Emails (say, simulating a connection error).   When I try to sync next, I basically go back to #2, sending syncKey = 1 (which is the last one I've gotten successfully, i.e. I never finished receiving the result from the first window full of data).    The result is a status of 3, which indicates that I have to throw away any data I've received and start over with step 1.<br/> <br/> Is this correct?   If so, it would seem that a connection error after having received thousands of messages would cause me to have to get them all over again.   Or am I missing something?<br/> <br/> Any help would be greatly appreciated.<br/> <br/> -BHAssoc© 2009 Microsoft Corporation. All rights reserved.Wed, 29 Jul 2009 20:16:55 Zeacc764b-ace8-4a1a-be94-c26d6433d180http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/eacc764b-ace8-4a1a-be94-c26d6433d180#eacc764b-ace8-4a1a-be94-c26d6433d180http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/eacc764b-ace8-4a1a-be94-c26d6433d180#eacc764b-ace8-4a1a-be94-c26d6433d180BHAssochttp://social.msdn.microsoft.com/Profile/en-US/?user=BHAssocQuestion re: ActiveSync "Sync" command and status 3 error...Here's what I'm doing:<br/> <br/> 1) Send a Sync command for Inbox with syncKey = 0 (first sync)<br/> 2) Receive syncKey = 1 (as expected)<br/> 3) Send Sync command with syncKey = 1<br/> 4) Receive new syncKey = 2 (as expected) and start processing Emails.<br/> <br/> Now, I interrupt my executing code at this point - i.e. before I finish with the first window of Emails (say, simulating a connection error).   When I try to sync next, I basically go back to #2, sending syncKey = 1 (which is the last one I've gotten successfully, i.e. I never finished receiving the result from the first window full of data).    The result is a status of 3, which indicates that I have to throw away any data I've received and start over with step 1.<br/> <br/> Is this correct?   If so, it would seem that a connection error after having received thousands of messages would cause me to have to get them all over again.   Or am I missing something?<br/> <br/> Any help would be greatly appreciated.<br/> <br/> -BHAssocTue, 30 Jun 2009 00:36:06 Z2009-06-30T00:36:06Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/eacc764b-ace8-4a1a-be94-c26d6433d180#7a571012-72a1-4fde-858d-a0846f528309http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/eacc764b-ace8-4a1a-be94-c26d6433d180#7a571012-72a1-4fde-858d-a0846f528309Hongwei Sun-MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Hongwei%20Sun-MSFTQuestion re: ActiveSync "Sync" command and status 3 error...BHAssoc,<br/><br/>   Thanks for your question.  One of out team member will work on your question and get back to you soon.<br/><br/>Thanks!<hr class="sig">Hongwei Sun -MSFTTue, 30 Jun 2009 14:16:40 Z2009-06-30T14:16:40Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/eacc764b-ace8-4a1a-be94-c26d6433d180#d56e2c96-c8b2-4c53-9511-40eaad7b8077http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/eacc764b-ace8-4a1a-be94-c26d6433d180#d56e2c96-c8b2-4c53-9511-40eaad7b8077BHAssochttp://social.msdn.microsoft.com/Profile/en-US/?user=BHAssocQuestion re: ActiveSync "Sync" command and status 3 error...Thanks; what sort of timeframe should I expect (it's been about a week now)? <div><br/></div> <div>-BHA</div>Mon, 06 Jul 2009 16:15:23 Z2009-07-06T16:15:23Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/eacc764b-ace8-4a1a-be94-c26d6433d180#f7e1e622-26d3-481d-8f23-7670a6ff4c94http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/eacc764b-ace8-4a1a-be94-c26d6433d180#f7e1e622-26d3-481d-8f23-7670a6ff4c94Tom Jebo_DSChttp://social.msdn.microsoft.com/Profile/en-US/?user=Tom%20Jebo_DSCQuestion re: ActiveSync "Sync" command and status 3 error...BHAssoc,<br/><br/>I've taken ownership of your case and will try to get you a response in the next couple of days.  Thanks for your patience!<br/><br/><hr class="sig">Regards, Tom Jebo Senior Support Escalation Engineer Microsoft DS Protocol TeamTue, 07 Jul 2009 14:36:53 Z2009-07-07T14:36:53Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/eacc764b-ace8-4a1a-be94-c26d6433d180#f22f8391-eaa3-4c68-bd97-8badfed76200http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/eacc764b-ace8-4a1a-be94-c26d6433d180#f22f8391-eaa3-4c68-bd97-8badfed76200BHAssochttp://social.msdn.microsoft.com/Profile/en-US/?user=BHAssocQuestion re: ActiveSync "Sync" command and status 3 error...Great, thanks! <div><br/></div> <div>BHA</div>Tue, 07 Jul 2009 15:52:54 Z2009-07-07T15:52:54Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/eacc764b-ace8-4a1a-be94-c26d6433d180#fa36b0b3-e75b-409b-ad22-1d17d599ad71http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/eacc764b-ace8-4a1a-be94-c26d6433d180#fa36b0b3-e75b-409b-ad22-1d17d599ad71Mark Miller_DSChttp://social.msdn.microsoft.com/Profile/en-US/?user=Mark%20Miller_DSCQuestion re: ActiveSync "Sync" command and status 3 error...<p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black"><span style="font-size:small"><span style="font-family:Calibri">Hello BHAssoc,</span></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black"><span style="font-family:Calibri;font-size:small"> </span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black"><span style="font-size:small"><span style="font-family:Calibri">You should be able to use SyncKey = current, or SyncKey = current – 1, but you can't use SyncKey = current - 2.</span></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black"><span style="font-family:Calibri;font-size:small"> </span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black"><span style="font-size:small"><span style="font-family:Calibri">Consider this pattern:</span></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black"><span style="font-size:small"><span style="font-family:Calibri"> </span></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black"><span style="font-size:small"><span style="font-family:Calibri">1) Sync Inbox - SyncKey = 0 - Returns Synckey of 1 and no items.</span></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black"><span style="font-size:small"><span style="font-family:Calibri">2) Sync Inbox - SyncKey = 1 - Returns Synckey of 2 and n number of items.</span></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black"><span style="font-size:small"><span style="font-family:Calibri">3) Sync Inbox - SyncKey = 1 - Returns Synckey of 2 and n number of items.</span></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black"><span style="font-family:Calibri;font-size:small"> </span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black"><span style="font-size:small"><span style="font-family:Calibri">If you are encountering something different that what is described above please send sync logs and I will investigate further.</span></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black"><span style="font-size:small"><span style="font-family:Calibri"> </span></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Consolas;color:black;font-size:10pt">Regards,<br/>Mark Miller<br/>Escalation Engineer</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Consolas;color:black;font-size:10pt">US-CSS DSC PROTOCOL TEAM</span></p>Mon, 13 Jul 2009 20:28:46 Z2009-07-13T20:28:46Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/eacc764b-ace8-4a1a-be94-c26d6433d180#7b0e7964-487f-4110-a861-354ebc5bc0d7http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/eacc764b-ace8-4a1a-be94-c26d6433d180#7b0e7964-487f-4110-a861-354ebc5bc0d7BHAssochttp://social.msdn.microsoft.com/Profile/en-US/?user=BHAssocQuestion re: ActiveSync "Sync" command and status 3 error...Hi, Mark. <div><br/></div> <div>I don't think this is what I'm seeing, at least with EAS 2.5.   Could you tell me what kind of logs you'd like, so I can ask my server admin to get them for you?</div> <div><br/></div> <div>Thanks!</div> <div><br/></div> <div>Marc</div>Wed, 15 Jul 2009 04:25:07 Z2009-07-15T04:25:07Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/eacc764b-ace8-4a1a-be94-c26d6433d180#6139feb4-341a-4c2c-962f-444811586173http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/eacc764b-ace8-4a1a-be94-c26d6433d180#6139feb4-341a-4c2c-962f-444811586173Mark Miller_DSChttp://social.msdn.microsoft.com/Profile/en-US/?user=Mark%20Miller_DSCQuestion re: ActiveSync "Sync" command and status 3 error...<p class=MsoNormal style="margin:0in 0in 0pt;background:white"><span style="color:black"><span style="font-family:Calibri;font-size:small">Hello BHAssoc,<br/><br/>Support for Exchange Server Protocols fall under the </span><a href="http://www.microsoft.com/interop/principles/default.mspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">Interoperability Principles</span></a><span style="font-size:small"><span style="font-family:Calibri">.  Interoperability Principles covers client protocols to interoperate with Exchange Server 2007 and greater.   The version of Exchange ActiveSync (EAS) that are supported by this forum are 12.0 and greater.</span></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt 12pt;background:white"><span style="color:black"><span style="font-size:small"><span style="font-family:Calibri"> </span></span></span></p> <span style="font-family:'Calibri','sans-serif';color:black;font-size:11pt">If you require additional support for earlier versions of EAS, such as 2.5 that ships with Exchange 2003, this is handled as a paid service engagement with <a href="http://www.microsoft.com/services/Microsoftservices/srv_mspa.mspx"><span style="color:#0000ff">Microsoft Partner Advantage Services</span></a> (MSPA).<br/><br/> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Consolas;color:black;font-size:10pt">Regards,<br/>Mark Miller<br/>Escalation Engineer</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Consolas;color:black;font-size:10pt">US-CSS DSC PROTOCOL TEAM</span></p> </span>Mon, 20 Jul 2009 14:51:04 Z2009-07-20T14:51:04Z