Weird synchronisation problem

  • Thread starter Thread starter Redd Twain
  • Start date Start date
R

Redd Twain

Hi,

I got the following issue:
I develop a calendar synchronisation tool, which uses an
exchange-public-folder for synchronisation. i.e. A
publishes appointments in the public folder and B takes
some of them not all, but appointments of a specific
category, and copies them to his local calendar. Both of
them got a offline-version of the public folder in their
favorites. The appointments got 2 userproperties for the
initiator and the latest "changer" of the appointment.

When 'A' changes the subject of a synchronized item, this
change would be made also in his offline copy of the
public folder and on the next synch this change would be
delivered to the offline copy of 'B', next step should be
that the changes would be copied to the local copy of the
appointment so all versions are equal, BUT when the
itemChange event fires after the synchronisation with the
exchange server, the subject of the item an all other
data is still "old". In the default explorer view I see
the changed subject but when I open the item in an
inspector, the subject is still the same one as before
the change.
Weird effect, when I shutdown and restart outlook and
open the item in the (offline) public folder in an
inspector, another ItemChangeEvent is triggered, at this
point all changes are made and the synchronisation
finishes successfully. All changes to the subject and the
userproperties are copied.

Any idea, why the changes in the offline folder are not
completely transfered, why the old values remain in the
isnpector view, while the explorer display the new
subject? I can't save any new changes in the inspector,
until I restarted outlook and until the second ItemChange
event fires. I already tried to call save() for the item
passed by the ItemChanged event,but that only leads to an
exception.

Thx in advance
 
More specific:
(changes made by an other account on an other PC)

The ItemChange-Event fires during synchronisation but the
item passed by the Eventhandler is still unchanged so is
the item in the offline-copy of the public-calendar when
i open it in an inspector, in explorer view the changed
subject is displayed.
After a restart the changes to the item are made
completely and on opening the item in an isnpector
another ItemChangeEvent fires.

How can i force Outlook to change the copy in the offline-
copy of the public-calendar? It seems as if outlook does
a complete synchronisation at startup but rejects saving
changes during later synchronisation attempts.
TIA
 
Back
Top