RE: ActiveSync, Smartphone, and Small Business Server



Hi Jerry,

Here is some additional info. Using the same domain computer, I logged on
as the domain administrator. Then I attached the smartphone and set up a new
server based partnership. I got a sync error ( for the server part of the
sync) when attached to the local computer, but didn't track that down because
when I detached the smart phone, I was able to sync with no errors to the
exchange server via GPRS. Now the admin account had about 40+ emails sitting
in the inbox from about 9 months ago up to a couple from today. I had also
copied in about 100 contacts from the shared contacts to the admins personal
contacts to make sure that contacts were syncing.

Anyway, after syncing 'successfully' via GPRS, I had 14 emails in the inbox
and no contacts on the smartphone. And the emails that were downloaded were
from a period of about 3 weeks in late feburary and early march (but not all
from this period - just most). Also interesting, is that the smartphone says
"synching 40 of 40 messages".

So I went back to the server, opened IE and I logged on to the
http://servername/exchdav/administrator/Microsoft-Active-Sync/PocketPC
directory (File, open, Open as web folder) and I deleted the GUID folder in
order to reset the server state information for the device. The next time I
logged on, I got the message that there was a critical error and that the
phone would redownload all the information the next time it logged on. Well,
as before, the information was incomplete. I received the exact same
information to the phone.

But wait there is more, I could send email from the account fine via the
GPRS modem and exchange. However the test email that I sent back to the
admin account (from an external acct) went to exchange fine, but the
smartphone didn't download it.

Also, I was able to delete emails from the admin account on the smartphone
and see them successfully be deleted on the server.

When I looked at the Activesync log off the smart phone of a sync where I
didn't change anything, I find some interesting bits. (Note that I have been
following the troubleshooitng steps in the Microsoft Support webcast done on
March 24 2004 that has a transcript and corresponding powerpoint
presentation with examples of good log files. -- these are both availabe
at: http://support.microsoft.com/default.aspx?scid=kb;en-us;836024)
Here is a summary of the interaction:

client -> FolderSync cmd (with Sync Key(SK))
server -> FolderSync (status=1, changes.count=0, same SK)
client -> GetItemEstimate (requesting contacts (filtertype=0), calendar
(filtertype=6), email (filtertype=0))
server -> GetItemEstimate (requesting contacts (Estimate=200), calendar
(Estimate=0), email (Estimate=40))
client -> Sync (class=contacts, windowsize=100, truncations=4,
rftruncation=4, conflict=1)
server -> Sync (class=contacts, status=1)
client -> Sync (class=email, windowsize=100, deleteasmoves, getchanges,
filtertype=0, truncation=9, conflict=1)
server -> Sync (class=email, status=1)

That is it! I never see an Add command come down from the server.

It looks to me like the server is "acking" back to the Synch requests with
status 1 (OK). But in the example log files, the sync command from the
server returns an ADD command with corresponding email data. So, Is my the
client sync command malformed? I notice that the filters and truncation
settings seem to be different on mine than in the example. Everything seems
to look ok and there are no errors.

Lastly, When I looked at the IIS logs of a sync where I didn't change
anything, I can see the POST messages that contain the following strings:

.... Sync&Log=V2TCoSSC:0A0C0D0FS....

which apparently means that it is synching zero contacts. And then also:

.... Sync&Log=V2TEmSSC:0A0C0D0FS....

which apparently means that it is a regular sync that is synching zero
messages.

Thanks for any assistance, this is really puzzling me.

Dave



"Jerry zhao (MSFT)" wrote:

> Hi Dave,
>
> Thanks for your update.
>
> Please take your time to perform the test and we will always be here for
> your assistance.
>
> Best regards,
>
> Jerry Zhao (MSFT)
>
> Microsoft CSS Online Newsgroup Support
>
> Get Secure! - www.microsoft.com/security
>
> =====================================================
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> =====================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
>
>
.



Relevant Pages

  • Samsung i600 SmartPhone unable to sync with SBS 2003.
    ... I have a Verison Samsung i600 SmartPhone (which I just upgraded to SmartPhone ... which syncs with our server over a RPC connection. ... my phone to sync directly with the server I get the following error message: ... writer, Boolean preserveForm) ...
    (microsoft.public.windows.server.sbs)
  • Re: WM5 Deleted items not removed from server.
    ... Item arrives in at both PC and the Smartphone. ... Delete item from inbox on smart phone and sync back to server. ...
    (microsoft.public.pocketpc.activesync)
  • Re: Server Sync and OMA Wont work.
    ... I currently have 5 phones that sync with exchange. ... A stand alone PC is set next to the server, joined to ... Microsoft CSS Online Newsgroup Support ... I need log files for further analyze. ...
    (microsoft.public.windows.server.sbs)
  • Re: Peer to Peer
    ... My authoritative server would be my ciso router that does sync with stratum ... "problems with w32time" followed the instructions and it seemed to work. ... Configure the machine to sync with an outside time source: ... w32tm -s to run periodically if the time service does not function on peer ...
    (comp.protocols.time.ntp)
  • Re: Wireless Sync Issue
    ... I did talk to Sprint, and they were clueless, saying there was no ... sometimes making changes in a host file on the server. ... Using an O2 ATOM and unable to sync via GPRS after a USB sync unless I stop ... and the server is accessible from the Internet via ...
    (microsoft.public.pocketpc.activesync)