Symptoms

When users perform an import / export or tries linking a document to a Business Contact they encounter the following error message “Business Contact Manager could not complete the last action or actions”

Cause

The issue happens due to left over registry keys for Primary Interop Assemblies that aren't removed after un-installing Office 2013 C2R version

Resolution

We were able to resolve the issue by deleting the 9.5 present under HKEY_CLASSES_ROOT\TypeLib\{00062FFF-0000-0000-C000-000000000046}

More Information

Here a copy of the error that get logged in the BCM logs :


21.10.2012 08: 06: 06 Pm: logging initialized.
[V] [15: 10: 34.7281667] Microsoft.BusinessSolutions.eCRM.OutlookAddIn.CSUtils: start logging
[V] [15: 10: 40.3442747] BusinessLayer: ReattachOldDatabases: enter
[V] [15: 10: 43.0899275] Microsoft.BusinessSolutions.eCRM.OutlookAddIn.CSUtils: FIRSTUSE: configuring offline
[E] [15: 10: 43.1679290] BCMRes: can't the COM object of type 'Microsoft.Interop.eCRM.Outlook.NameSpaceClass' to interface type ' Microsoft.Interop.eCRM.Outlook. _NameSpace "will be converted. This operation could not be performed because the QueryInterface call on the COM component for the interface with the IID {00063002-0000-0000-C000-000000000046} because of the following error could not be performed: library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).


[E] [15: 10: 43.1679290] BCMRes: at Microsoft.Interop.eCRM.Outlook.NameSpaceClass.get_Application()
at Microsoft.BusinessSolutions.eCRM.OutlookAddIn.CSUtils.BcmStoreCommon.RefreshFormRegionDefinition (string messageClass)
at Microsoft.BusinessSolutions.eCRM.OutlookAddIn.CSUtils.FirstUse.FirstUseWorker.DoFirstUsePipeline (Object state)
[E] [17:45:15.6860390]BCMRes: Unable to cast COM object of type 'Microsoft.Interop.eCRM.Outlook.NameSpaceClass' to interface type 'Microsoft.Interop.eCRM.Outlook._NameSpace'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063002-0000-0000-C000-000000000046}' failed due to the following error: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).
[E] [17:45:15.6890393]BCMRes:    at Microsoft.Interop.eCRM.Outlook.NameSpaceClass.get_Application()
   at Microsoft.BusinessSolutions.eCRM.OutlookAddIn.CSUtils.BcmStoreCommon.BcmImp(IrisWin32Window ti, ImportOrExportType impType)