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

No such interface supported (0x80004002)

Last updated on 21 February 2021 · 2 min read

Admin
M-Files Desktop

Overview

When trying to make a change in M-Files to a class, property, etc. it throws an exception like:

MPropertyPage2.cpp, 102, Cannot change the unmodifiable parts of a property definition. (0x8004002F)
MPropertySheet2.cpp, 143, Cannot change the unmodifiable parts of a property definition. (0x8004002F)
PropertySheetPropertyDef.cpp, 490, Cannot change the unmodifiable parts of a property definition. (0x8004002F)
RPCMethodCallWithRetry.h, 147, Cannot change the unmodifiable parts of a property definition. (0x8004002F)
RPCMethodCallWithRetry.h, 147, Cannot change the unmodifiable parts of a property definition. (0x8004002F)
RPCPropertyDefsAdmin.cpp, 1218, Cannot change the unmodifiable parts of a property definition. (0x8004002F)
RPCPropertyDefsAdmin.cpp, 254, Cannot change the unmodifiable parts of a property definition. (0x8004002F)
RPCPropertyDefsHelper.cpp, 6592, Cannot change the unmodifiable parts of a property definition. (0x8004002F)
RPCPropertyDefsHelper.cpp, 6592, No such interface supported. (0x80004002)
RPCPropertyDefsHelper.cpp, 7909, No such interface supported. (0x80004002)
RPCPropertyDefsHelper.cpp, 8509, No such interface supported. (0x80004002)
RecalculateProperties.cpp, 1186, No such interface supported. (0x80004002)
VaultScriptSessionTemplates.cpp, 156, No such interface supported. (0x80004002)
PropValCalculationScriptSession.cpp, 81, No such interface supported. (0x80004002)
VaultScriptSessionTemplates.cpp, 511, No such interface supported. (0x80004002)

Solution

Re-register the correct API Version. To do that:

Navigate to the correct M-Files installation folder (C:\Program Files\M-Files\<Version>\Common) and run the commands below:

regsvr32 MFilesApi.dll
regsvr32 MFilesApi64.dll
regsvr32 MFilesApiInternal.dll
regsvr32 MFilesApiInternal64.dll
- Restart MFServer.exe
- Restart the M-Files Server Auxiliary Service

Still need help?

On this page