When you create OnSyncSave global event bindings in the Global Events folder for the private store, you may receive extra OnSyncSave folder event notifications that are generated with empty bstrURLItem and EVT_ERROR | EVT_IS_COLLECTION bit set in lflags.
↑ Back to the top
When a new user mailbox is created, the store automatically creates many subfolders such as Inbox, Outbox, and so on. The store delays such creation until the first item is created in the user's mailbox. Thus, when a new message is created in a new mailbox, extra OnSyncSave folder event notifications related to mailbox creation are generated.
↑ Back to the top
Microsoft has confirmed that this is a problem in Microsoft Exchange 2000 Server.
↑ Back to the top
Steps to Reproduce the Problem
- Create a new user who belongs to Admin groups (such as Domain Admins).
- Log on as the new user and create onsyncsave event bindings in the Global Events folder for the private store:
regevent add onsyncsave sink.sink.1 "file://./backoficestorage/%userdnsdomain%/MBX/SystemMailbox{GUID}/StoreEvents/GlobalEvents/Reg_1"
- Create a new message in the user mailbox.
- Notice that event sink gets OnSyncSave event notification for the message created in the previous step plus 14 extra OnSyncSave folder event notifications with empty bstrURLItem and lflags EVT_ERROR | EVT_IS_COLLECTION bit set.
↑ Back to the top