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/Error resolution

Saving from Outlook to M-Files gives "Wrong data type" error

Last updated on 17 March 2021

Admin
Microsoft Office Add-ins

Overview

After updating to M-Files January' 21 update, you can get the following error when saving emails from Outlook to M-Files, using the "Save to" option:

SaveToMFilesThread.cpp, 226, The data type conversion "xxx -> ?" failed. (0x800400C9)
MSOutlookEmailsSaveHelper.cpp, 112, The data type conversion "xxx -> ?" failed. (0x800400C9)
MSOutlookMFilesAPIHelper.cpp, 724, The data type conversion "xxx -> ?" failed. (0x800400C9)
MSOutlookMFilesAPIHelper.cpp, 1010, The data type conversion "xxx -> ?" failed. (0x800400C9)
MSOutlookMFilesAPIHelper.cpp, 1010, Wrong data type. (0x8004000F)
MF_TypedValue.cpp, 3943, Wrong data type. (0x8004000F)
 

Solution

This issue can be seen if there are invalid email configurations defined for the Vault in "Email Client Integration Settings".  To verify these settings, open M-Files Admin tool, right click the relevant Vault and select "Email Client Integration Settings" from the list. Check both the General and Advanced tab, that there are no fields where the value has been marked as "(deleted)" or have otherwise invalid property references. If these values are found, you can either map the value to an existing property or clear the value.
 

Still need help?

On this page