When manually syncing Appointments down from the CRM server to Outlook, it shows sync error "An unknown error has occurred...". In troubleshooting, this appears to be related to Appointment parties (i.e. the Required, Optional, and Organizer field parties).
Trace file details:
>crm id :'{17DDxxxx-DD92-xxxx-90DE-001EC932xxxx}', Error:An unknown error occurred while synchronizing data to Outlook.
[2012-06-13 08:25:09.921] Process:OUTLOOK |Organization:e20fxxxx-cc79-xxx1-xxxx-001ec93xxxx4 |Thread: 25 |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: | SchedulableActivityForOutlook.GenerateCrmPartyInfo
at SchedulableActivityForOutlook.GenerateCrmPartyInfo(String entityId, Object messageItem, IDynamicEntityForOutlook dynamicEntity)
at ThreadsSupport.ExecuteThreadProc(ThreadProc threadProc, IntPtr parameter)
>Exception occurred during outlook interop: System.Runtime.InteropServices.COMException (0x8004010F): The item could not be found.
at Microsoft.Office.Interop.Outlook._NameSpace.GetRecipientFromID(String EntryID)
at Microsoft.Crm.Outlook.OutlookItemWrapper.DecodeRecipientEmailAddress(PropValue mapiEntryId, PropValue altId, PropValue emailValue, PropValue emailType, String& displayName)
at Microsoft.Crm.Outlook.OutlookItemWrapper.GetOutlookRecipients(Object itemWrapper, Object messageItem)
at Microsoft.Crm.Outlook.OutlookItemWrapper.GenerateCrmPartyInfo(Guid entityId, IClientOrganizationContext context, Object messageItem, IDynamicEntityForOutlook dynamicEntity)
at Microsoft.Crm.Application.SMWrappers.SchedulableActivityForOutlook.GenerateCrmPartyInfo(String entityId, Object messageItem, IDynamicEntityForOutlook dynamicEntity)
[2012-06-13 08:25:09.921] Process:OUTLOOK |Organization:e20fxxxx-cc79-xxx1-xxxx-001ec93xxxx4 |Thread: 25 |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Warning |ReqId: | ResourceForOutlook.Microsoft.Crm.Application.SMWrappers.IResourceForOutlook.GetString
at ResourceForOutlook.Microsoft.Crm.Application.SMWrappers.IResourceForOutlook.GetString(Int32 id)
at ThreadsSupport.ExecuteThreadProc(ThreadProc threadProc, IntPtr parameter)
> Exception: System.Runtime.InteropServices.COMException (0x80040203): Resource not found(-2147221233).
at Microsoft.Crm.Application.SMWrappers.ResourceForOutlook.Microsoft.Crm.Application.SMWrappers.IResourceForOutlook.GetString(Int32 id)
[2012-06-13 08:25:09.921] Process:OUTLOOK |Organization:e20fxxxx-cc79-xxx1-xxxx-001ec93xxxx4 |Thread: 26(MSCRM:-DownloadStatus.RunUserInterfaceThread) |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: | RuntimeMethodHandle._InvokeMethodFast
at RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at Delegate.DynamicInvokeImpl(Object[] args)
at Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at Control.InvokeMarshaledCallbackHelper(Object obj)
at ExecutionContext.runTryCode(Object userData)
at RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at Control.InvokeMarshaledCallbacks()
at Control.WndProc(Message& m)
at ScrollableControl.WndProc(Message& m)
at Form.WndProc(Message& m)
at ControlNativeWindow.OnMessage(Message& m)
at ControlNativeWindow.WndProc(Message& m)
at NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at Application.RunDialog(Form form)
at Form.ShowDialog(IWin32Window owner)
at Form.ShowDialog()
at OutlookUIHelper.ShowDialog(Form form)
at DownloadStatus.RunUserInterfaceThread()
at ThreadHelper.ThreadStart_Context(Object state)
at ExecutionContext.runTryCode(Object userData)
at RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at ThreadHelper.ThreadStart()
Any ideas?