eWay-CRM Cannot Finish Initial Contact Import

Description

The log will display this error:

HASH: 5A263944BEC8D0DBF086008F981F73E5
Could not finish first contact synchronization
System.InvalidOperationException: DoFirstContactSynchronization finished with error
at eWay.Core.Office.InitialContactSynchronizator.Start()
--- END TRACE ---
--- 2015-08-03 11:35:42,590 [outlook] ERROR [HASH: 0C113497B22BB1837EE6B9A6B22CF29A] [USER: eWayUser2] [EWAY: eWay-CRM Premium 3.9.0.164] [OL: 15.0.4737.1000] [WIN: Microsoft Windows NT 6.1.7601 Service Pack 1] ---
Could not finish first contact synchronization
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Microsoft.Office.Interop.Outlook.MAPIFolder.get_DefaultItemType()
at eWay.Core.OutlookAccess.Folders.FolderWrapperFactory.GetFolder(Application application, MAPIFolder folder)
at eWay.Core.OutlookAccess.Folders.FolderBase.GetSubFolder(String folderName)
at eWay.Core.OutlookAccess.Application.CreateFolderNextToDefault(OlDefaultFolders folderType, String name)
at eWay.Core.OutlookStub.OutlookImportManager.ProcessDuplicityImportResult(Application application, ContactItem contact)
at eWay.Core.Office.InitialContactSynchronizator.ProcessAutomaticContactSynchronizationResult(Application application, OutlookItemDescriptor descriptor, ImportResult result)
at eWay.Core.Office.InitialContactSynchronizator.DoFirstContactSynchronization(Application outlookApplication, IOutlookItemStore itemStore, ProgressDialog dialog)

The error is related to the Check for Duplicate Contacts function that is turned on.

Version

All versions of eWay-CRM

Difficulty

Low

Resolution

Option 1: Create Relevant Folder

If the check for duplicate contacts is turned on, eWay-CRM tries to move duplicate contacts into the folder Duplicate Contacts. If the folder does not exist, you need to create it.

Manually create the folder called "Duplicate Contacts" (its name depends on the language mutation of your eWay-CRM - for the Czech version, it is "Duplicitní kontakty").

Option 2: Deactivate Check for Duplicate Contacts

If the option 1 is not working, you need to deactivate the check for duplicate contacts. Please follow the instruction in this article: Check for Duplicate Contacts.