Loading

Salesforce for Outlook error 'Retrieving the COM class factory for component with CLSID'

Дата публикации: Aug 6, 2023
Описание

ISSUE

The Salesforce for Outlook (SFO) fails to sync and the following error is generated in the Trace log:
 

2012-04-12 12:26:33,984 ERROR [Contact] *********** Sync Engine *********** Error Sfdc.Outlook.OLSessionException: Retrieving the COM class factory for component with 
CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)). --->
Решение

 *** Important: Make sure to perform the steps below in the same order they are listed ***

 

** NOTE THE BELOW INVOLVES USING THE REGISTRY EDITOR**

If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. See the article http://support.microsoft.com/kb/322756 to back up the registry on your machine or ask one of your IT team members to perform the following tasks.

 

1. Close all programs, specially the Microsoft Outlook and Salesforce for Outlook (SFO).

To close SFO, right-click the SFO system tray icon and click EXIT,

2. In Windows 7 / 8 / 8.1 /10, you need to make sure the UAC (User Account Control) is set to Never Notify. Review our documentation on how to change the UAC setting.

3. After you adjust your UAC using the article mentioned in Step #2 above and restarted your PC, open up Windows Registry Editor by typing in Regedit in the Run Command box. To open the Run command box, press and hold down the Windows key on your keyboard and press the key to pop open the Run command box and type in the following, and press Enter.


4. In the Registry Editor, navigate to

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{00062FFF-0000-0000-C000-000000000046}

5. Under this key, you should see ONLY one key that corresponds to the version of Microsoft Outlook you have installed.
 

9.2       for       Office 2003
9.3       for       Office 2007
9.4       for       Office 2010
9.5       for       Office 2013
9.6       for       Office 2016

For example, if you have Office 2013 then you should only have the 9.5 key. Or in a different scenario if you had Outlook 2007 on your machine first and then installed Outlook (or Office) 2010 on top of Office 2007 you may end up with 2 keys in this location. Sometimes the Office uninstallation process fails to remove the corresponding key as well and you have to manually remove it or use one of the MS Office uninstall utilities.

If there is only one entry here, skip step 5 and move on to the next step.

6. Next, in the Registry Editor, click the Computer icon on top of the left pane and then click Edit | Find.

7. Do a search for the error message number that you found in the log.

Type in 0006F03A and click Find, after this key is found on the left pane, right-click the yellow folder on the left and click Export and save it on your Desktop or any folder (to back up this entry before we delete it). After you save it, right-click it again and click Delete to remove the key. You need to press the F3 key on your keyboard or click 'Edit + Find Next' from the Registry to continue the search. Repeat the steps above for the rest of the keys found in the registry.

8. Delete the following key(s) from the registry as well and then close the Registry (There might be more than 1 Redemption entry, delete them all) No need to save them.
 

One or more of the following

HKEY_CURRENT_USER\Software\Redemption
HKEY_CURRENT_USER\Software\Redemption *
HKEY_CURRENT_USER\Software\Redemption * *
HKEY_LOCAL_MACHINE\SOFTWARE\Redemption
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Redemption

 

9. Uninstalled Salesforce for Outlook and its prerequisites. Review our documentation on how to uninstall install Salesforce for Outlook. You may also need to perform a manual cleanup on Salesforce for Outlook.

  • Salesforce for Outlook
  • Microsoft office 20xx* Primary Interop Assemblies (*either 2007 or 2010)
  • Visual Studio 2005 or 2010 Tools for Office Second Edition Runtime

10. Next you would need to run a Repair on your Microsoft Office installation. If you have different versions of Microsoft Office, make sure to repair the version that includes Microsoft Outlook.

Refer to this link by Microsoft for more information on repairing MS Office.
*You need to restart your computer to make sure the changes take effect. DO NOT skip this step.

11. Now, you should have deleted the SYNC.DB file in step #9 above, if not simply navigate to the path below and delete the DB folder.

Again press and hold down the Windows key on your keyboard and press the R key to pop open the Run command box and type in the following and press Enter.

 %appdata%\salesforce.com\Salesforce for Outlook\DB
 

12. Now, you can download and install the Salesforce for Outlook.

13. On the installation prerequisites step, make sure your Outlook is closed, and then check all the boxes and click NEXT and finish the installation.

14. After you install Salesforce for Outlook, open Outlook and try to reproduce the issue.

Номер статьи базы знаний

000386203

 
Загрузка
Salesforce Help | Article