eWayAgent.exe crashes a moment after MS Outlook is launched

Description

The issue shows on the terminal server. At first, you will witness the synchronization error:

Synchronization failed
System.Runtime.InteropServices.COMException (0x80080005): Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005.
at eWay.Core.OutlookAccess.Application..ctor()
at eWay.StandardEdition.Synchronization.SynchronizeThread.SynchronizeAll(IEnumerable`1 folders, Boolean& synchronizationOK, Boolean& newData, DateTime till)
at eWay.StandardEdition.Synchronization.SynchronizeThread.Synchronize()

Then, the process will crash.

MS Windows Event Viewer has logged this error:

Faulting application name: eWayAgent.exe, version: 3.8.0.72, time stamp: 0x5421251b
Faulting module name: mso.dll, version: 0.0.0.0, time stamp: 0x54bf78bd
Exception code: 0xc0000005
Fault offset: 0x000000000135e3cf
Faulting process id: 0x%9
Faulting application start time: 0x%10
Faulting application path: %11
Faulting module path: %12
Report Id: %13
Faulting package full name: %14
Faulting package-relative application ID: %15 

Version

All versions of eWay-CRM.

Difficulty

Medium

Resolution

Option 1: Delete the user's profile

The resolution of the issue was the deleting of the user's profile. After next launch of the MS Outlook, the eWay-CRM profile was created again and everything worked correctly.

Option 2: Delete only the profile in MS Outlook (not tested)

It is probable that deleting the profile in MS Outlook will be sufficient enough, but the option is not tested yet.