Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Common problems

Outlook Plugin Crashes or Slow Performance

Last updated on 24 September 2021

Admin
Microsoft Office Add-ins

Overview

M-Files Office plugin may cause slowness and possible crashes with Outlook or some other Microsoft Office products.

Solutions

This section offers several ideas you can try in order.

1.1     Repair Office Installation

Try repairing the Office installation, Windows updates may have included something that breaks the plug-in functionality.
Control Panel > Programs and Features > Microsoft Office > Change > Repair

1.2     Disable M-Files Outlook Add-in

If your users do not actually use the add-in, you can use following registry key to disable the M-Files Outlook Add-in permanently:
Registry Key:HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Client\MFOfficeAddin
Value name:OutlookAddinDisabled
Value type:REG_DWORD (DWORD 32-bit Value)
Value data:1   (to disable)
    
     
     
Check that the outlook doesn't have any resiliency registries defined for the Outlook:

HKEY_CURRENT_USER\Software\Microsoft\Office\<version>\Outlook\Resiliency\DoNotDisableAddinList
 
Edit the registry and disable "Asynchronous saving is enabled for Outlook"
 
Registry Key:HKEY_CURRENT_USER\Software\Motive\M-Files\<version>\Client\MFOfficeAddin
Value name:OutlookSaveToMFilesAsync
Value type:REG_DWORD (DWORD 32-bit Value)
Value data:0
 

1.3      Delay Loading the Add-in

You can instruct Outlook (or other Office programs) to delay loading add-ins (to load them on demand). This means they will not initialize while the application is initializing, but when the user interacts with their UI.
This example uses Outlook (you can also use it for other Office programs), and the Add-in name is something like MFOfficeAddIn.Connect. 21_9_10629_5 where the first part is the name, and the second is the installed M-Files Client version, with the dots replaced with underscores. The key should already be there and its default value should be 3.
Registry Key:HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Outlook\Addins\ MFOfficeAddIn.Connect.<MFilesVersion_dots_replaced_with_underscores>
Value name:LoadBehavior
Value type:REG_DWORD (DWORD 32-bit Value)
Value data:16 (decimal)

NOTE: This can speed up the initial load of the Office program, but it may remove some functionality the M-Files add-in provides. For example, the Outlook add-in will not generate the M-Files folder in the folder tree when Outlook loads, it will initialize it after the user clicks a button (such as "Show in M-Files"). You may need to instruct your users about this and/or deploy this setting only for users who experience serious slowness, not for all users.
NOTE 2: For an interaction to happen, some UI must be loaded. Thus, values that put the plugin in Unloaded state may remove the entire M-Files tab from the Office ribbon and can thus prevent its initialization altogether. The value 9 (decimal) may cause the add-in to be unloaded initially and thus prevent the initialization of the ribbon as well.
You can read more about the available options in the following Microsoft article: Registry entries for VSTO Add-ins - LoadBehavior.

1.4      Re-register Office Add-in

Re-registering M-Files Office Add-in may solve the issue, as some cases after upgrade of some Windows components or M-Files update, the correct .dll's are not registered.
Open a CMD in admin mode and run the commands:
regsvr32 "C:\Program Files\M-Files\<M-Files version>\Bin\x86\MFOfficeAddIn.dll"
regsvr32 "C:\Program Files\M-Files\<M-Files version>\Bin\x64\MFOfficeAddIn.dll"

1.5     Add Resiliency Logic

Adding resilience for M-Files Office Add-in may help. To do so, add following registry keys.
<ADDIN_NAME> is the name of the M_Files Addin (MFOfficeAddin) as found under HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Outlook\Addins\
1x.0 is the office version, for example, 15.0 for Office 2013 and 16.0 for Office 2016
 
Registry Key:HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\1x.0\Outlook\Resiliency\AddinList
Value name:<ADDIN_NAME> [MFOfficeAddin]
Value type:REG_DWORD (DWORD 32-bit Value)
Value data:1
 
Registry Key:HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Outlook\Addins\<ADDIN_NAME> [MFOfficeAddin]
Value name:LoadBehavior
Value type:REG_DWORD (DWORD 32-bit Value)
Value data:3
 
Registry Key:HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\1x.0\Outlook\Resiliency\DoNotDisableAddinList
Value name:<ADDIN_NAME> [MFOfficeAddin]
Value type:REG_DWORD (DWORD 32-bit Value)
Value data:1
 

Reference Documents

Additional information in following article:

Still need help?