Overview
When you are trying to remove license from an M-Files user you might get the following error stack:
<MetadataEditor>, -, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
ScriptErrorHelper.cpp, 96, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
MDispatchExImpl.h, 679, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
MDispatchExImpl.h, 841, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
MetadataCardAction.cpp, 386, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
MetadataCardAction.cpp, 560, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
MetadataEditor.cpp, 2972, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
MetadataModel.cpp, 4540, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
MetadataModel.cpp, 4991, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
ElectronicSignatureUIHelper.cpp, 239, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
MetadataModel.cpp, 12770, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
CoVaultMountingDocumentOperations.cpp, 3335, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
CoVaultMountingDocumentOperations.cpp, 3423, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
DocumentCache.cpp, 12020, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
DocumentCache.cpp, 12131, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
DocumentCache.cpp, 20516, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
IRPCObjectOperations.generated.cpp, 18366, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
gRPCClient.cpp, 497, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
gRPCClient.cpp, 466, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
gRPCClient.cpp, 99, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
gRPC.generated.cpp, 19761, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
RPCDocumentOperations.cpp, 7428, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
MCallInLoop.h, 535, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 4268, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 3751, Komentosarjan suorittaminen epäon Failed to execute command nistui. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 9628, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 10410, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
VaultDBSessionEvents.cpp, 386, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
VaultDBSessionEvents.cpp, 1771, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 344, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 282, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 383, Failed to execute command. ((BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize: 199-74-3)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 383, Couldn't update the user status. (0x80131500)
VaultScriptSessionTemplates.cpp, 629, Couldn't update the user status. (0x80131500)
CoActiveScriptSite.cpp, 915, Couldn't update the user status. (0x80131500)
CoActiveScriptSite.cpp, 745, Couldn't update the user status. (0x80131500)
BeforeCheckInChangesFinalize::Hubshare.VAF.MFEventHandlerBeforeCheckInChangesFinalize, 22, Couldn't update the user status. (0x80131500)
CoDynamicCLRObjectWrapper.cpp, 561, Couldn't update the user status. (0x80131500)
CoDynamicCLRObjectWrapper.cpp, 332, Couldn't update the user status. (0x80131500)
ManagedError.cpp, 152, Couldn't update the user status. (0x80131500)
VaultApplicationBase.cs, 275 (IL:67), Couldn't update the user status. (0x80131500)
VaultApplicationBase.cs, 924 (IL:92), Couldn't update the user status. (0x80131500)
MethodInfo.cs, 264 (IL:336), Couldn't update the user status. (0x80131500)
VaultEvents.cs, 157 (IL:689), Couldn't update the user status. (0x80131500)
VaultEvents.cs, 2066 (IL:99), Couldn't update the user status. (0x80131500)
VaultEvents.cs, 3357 (IL:2795), Couldn't update the user status. (0x80131500)
VaultEvents.cs, 3439 (IL:536), Couldn't update the user status. (0x80131500)
(M-Files 25.3.14681.8 2025-05-08T13:27:20.006Z)
Solution
The error stack indicates that the user is enabled in Hubshare via the M-Files Plugin for Hubshare. Please make sure to disable the user in Hubshare and update the metadata to M-Files before trying to remove the user's license.
Reference Documents
M-Files Plugin for Hubshare | M-Files Catalog
/article/How-to-update-your-objects-Hubshare-related-metadata-with-the-M-Files-Plugin-for-Hubshare
