When you run Microsoft Dynamics NAV 2009 Service Pack 1, you cannot synchronize meetings and tasks as expected from Microsoft Dynamics NAV to Microsoft Office Outlook. Additionally, you cannot synchronize meetings and tasks as expected from Outlook to Microsoft Dynamics NAV. When you synchronize meetings and tasks, you may receive an error message that resembles the following:
Dump of exception type 'System.Reflection.TargetInvocationException'
Message: Exception has been thrown by the target of an invocation.
Stack trace: at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture)
at Microsoft.Dynamics.NAV.OLSync.NAVSyncAddIn.OutlookModelProvider.OutlookObject.GetProperty(String propertyName)
at Microsoft.Dynamics.NAV.OLSync.NAVSyncAddIn.Synchronization.MessageParser._ProcessElement(SynchronizationSchema synchronizationSchema, NavisionSynchronizationEntity navisionSynchronizationEntity, String synchronizationEntityCode, OutlookItem item, XPathNavigator elementNavigator, String navisionRecordId, ProcessedItemStatusStruc& processedItemStatusStruc)
at Microsoft.Dynamics.NAV.OLSync.NAVSyncAddIn.Synchronization.MessageParser._ProcessOutlookItem(XPathNavigator outlookItemElement, SynchronizationSchema synchronizationSchema, NavisionSynchronizationEntity navisionSynchronizationEntity, OutlookSynchronizationEntity outlookSynchronizationEntity, EntryIdStorage entryIdStorage, Boolean isConflictResolution)
at Microsoft.Dynamics.NAV.OLSync.NAVSyncAddIn.Synchronization.MessageParser.GetNextMessagePortion()
at Microsoft.Dynamics.NAV.OLSync.NAVSyncAddIn.Synchronization.Common._ProcessNavisionData(MemoryStream incomingStream)
at Microsoft.Dynamics.NAV.OLSync.NAVSyncAddIn.Synchronization.Common.DoSynchronization(BackgroundWorker worker, DoWorkEventArgs e)
Inner exception: System.ArgumentOutOfRangeException: Pointer startIndex and length do not refer to a valid string.
Parameter name: ptr
at System.String..ctor(SByte* value)
at Microsoft.Dynamics.NAV.OLSync.MapiHelper.SecureCallsHelper.GetCurrentUserStringProperty(UInt32 ulPropertyTag)
at Microsoft.Dynamics.NAV.OLSync.MapiHelper.SecureCallsHelper.GetCurrentUserEmailAddress()
at Microsoft.Dynamics.NAV.OLSync.NAVSyncAddIn.DefaultPlugIns.DefaultRecipient.get_Address()