[dev] ActiveSync: got "ERR: Invalid address book" on Nokia Mail for exchange, but worked on WindowsMobile 6.1

Michael Rubinsky mrubinsk at horde.org
Tue May 25 17:25:51 UTC 2010


Quoting Lukas Gradl <horde at ssn.at>:

> Hi!
>
> I tried to use ActiveSync for Horde.
>
> For testing I did a clean, fresh install of the GIT-Snapshots from  
> 2010-05-15 (tried 2010-05-19 at first, but they crashed PHP).
>
> My Addressbook is in a LDAP-Server (slapd 2.4).
>
> I can use the addressbook in turba, I can sync from Nokia via SyncML.
>
> I also managed to sync a Windows Mobile 6.1 Device - it took 3 tries  
> till I could sync all 390 Contacts, after that I did a full resysnc  
> which worked as expected on the first try.
>
> Then I tried Nokia Mail for Exchange 3 on an Nokia E90 Communicator.
>
> I can connect to the Server (seeing a connect in apache logs) and  
> the E90 and the Server start to talk to each other (e.g. I'm getting  
> a "starting FolderSync")
>
> But nothing is synched and I get a "ERR: Invalid address book:  
> privat" in my logs... (full Log attached!)
>
> It's the same user and the same server as for the WM6.1 sync - so  
> the Addressbook IS valid and accessible for Activesync.
>
> Any Ideas how to proceed?
>
> regards
> Lukas
>
> And here is the full Log from the Server:
<snip>

> 2010-05-20T19:08:46+02:00 INFO: [IMEI353659015123157] Beginning SYNC  
> Response.
> 2010-05-20T19:08:46+02:00 DEBUG: O  <Synchronize>
> 2010-05-20T19:08:46+02:00 DEBUG: O   <Folders>
> 2010-05-20T19:08:46+02:00 DEBUG: O    <Folder>
> 2010-05-20T19:08:46+02:00 DEBUG: O     <FolderType>
> 2010-05-20T19:08:46+02:00 DEBUG: O     Contacts
> 2010-05-20T19:08:46+02:00 DEBUG: O      <FolderType/>
> 2010-05-20T19:08:46+02:00 DEBUG: O     <SyncKey>
> 2010-05-20T19:08:46+02:00 DEBUG: O {497e376d-d562-4f55-8a0d-5689e6c4fd65}2
> 2010-05-20T19:08:46+02:00 DEBUG: O      <SyncKey/>
> 2010-05-20T19:08:46+02:00 DEBUG: O     <FolderId>
> 2010-05-20T19:08:46+02:00 DEBUG: O     Contacts
> 2010-05-20T19:08:46+02:00 DEBUG: O      <FolderId/>
> 2010-05-20T19:08:46+02:00 DEBUG: O     <Status>
> 2010-05-20T19:08:46+02:00 DEBUG: O     1
> 2010-05-20T19:08:46+02:00 DEBUG: O      <Status/>
> 2010-05-20T19:08:46+02:00 DEBUG: [IMEI353659015123157] Initializing  
> message diff engine for Contacts
> 2010-05-20T19:08:46+02:00 DEBUG:  
> Horde_ActiveSync_Driver_Horde::getServerChanges(Contacts, 0,  
> 1274375326, 0)
> 2010-05-20T19:08:46+02:00 ERR: Invalid address book: privat

Thanks for the report, need to know some more though:

Did you by any chance change the value for the turba pref that selects  
the address books to use for sync between sync attempts?

What *is* the value of your sync_books pref...and what is the source  
name for you ldap source?  I'm not sure how this could be Nokia  
specific - unless the error is a red-herring. The device knows nothing  
about the source names in turba, so this would not have come from the  
device.

Can you also check the web server error log for any php errors?

-- 
Mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org

"Reality is merely an illusion, albeit a very persistent one." - A. Einstein



More information about the dev mailing list