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

M-Files Outlook add-in error "Duplicate category name"

Last updated on 27 February 2021

Admin
M-Files for Outlook (COM)

Overview

When M-Files Add-in has been enabled for Outlook, you can encounter the following error that prevents the add-in to be loaded correctly in Outlook:

The parameter is incorrect. (Duplicate category name. The category name must be unique.)

Connect.cpp, xxx, The parameter is incorrect. (Duplicate category name. The category name must be unique.) (0x80070057)

AbstractOfficeApplication.cpp, xxx, The parameter is incorrect. (Duplicate category name. The category name must be unique.) (0x80070057)

MSOutlookApplication.cpp, xxx, The parameter is incorrect. (Duplicate category name. The category name must be unique.) (0x80070057)

MSOutlookApplication.cpp, xxxx, The parameter is incorrect. (Duplicate category name. The category name must be unique.) (0x80070057)

Solution / Workaround

The issue can be seen if there has been changes in the Outlook categories, or an issue with the M-Files installation. To solve the issue, try to delete or rename the M-Files color category from Outlook:

1. Open Outlook.

2. On the toolbar, click Categorize.

3. Click All Categories.

4. Search for M-Files color category, select and then rename or delete the category.

5. Close Outlook.

6. If the issue is still seen, re-register the M-Files Office Add-in.

Open a Command Window 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"

Still need help?