Overview
This article will show one possible reason for error message when creating a new Hubshare user in M-Files, chapter 4.1.2 in Setting Up and Using M-Files Plugin for Hubshare.
Symptoms
Error Message : CoVaultObjectOperations.cpp, 741, Operation not allowed. Script is being executed for the object "180-1298". (0x80040834)
ServerVaultObjectOperationsHelper.cpp, 143, Operation not allowed. Script is being executed for the object "180-1298". (0x80040834)
CoRPCOverCOM.cpp, 7031, Operation not allowed. Script is being executed for the object "180-1298". (0x80040834)
RPCDocumentOperations.cpp, 5836, Operation not allowed. Script is being executed for the object "180-1298". (0x80040834)
MCallInLoop.h, 300, Operation not allowed. Script is being executed for the object "180-1298". (0x80040834)
MCallInLoop.cpp, 809, Operation not allowed. Script is being executed for the object "180-1298". (0x80040834)
RPCDocumentOperationsHelper.cpp, 2277, Operation not allowed. Script is being executed for the object "180-1298". (0x80040834)
RPCDocumentOperationsHelper.cpp, 30888, Operation not allowed. Script is being executed for the object "180-1298". (0x80040834)
RPCDocumentOperationsHelperPrivate.cpp, 349, Operation not allowed. Script is being executed for the object "180-1298". (0x80040834)
RPCDocumentOperationsHelper.cpp, 11603, Operation not allowed. Script is being executed for the object "180-1298". (0x80040834)
RPCDocumentOperationsHelper.cpp, 12173, Operation not allowed. Script is being executed for the object "180-1298". (0x80040834)
VaultTrTrackerHelper.cpp, 424, Operation not allowed. Script is being executed for the object "180-1298". (0x80040834)
VaultTrTrackerHelper.cpp, 1152, Operation not allowed. Script is being executed for the object "180-1298". (0x80040834)
VaultTrTrackerHelper.cpp, 1357, Operation not allowed. Script is being executed for the object "180-1298". (0x80040834)
Sample Case
Go to M-Files admin tool -> Other applications -> M-Files Plugin for Hubshare -> Dashboard and download log file (image below).
In this file you can see more details of the error and there may be something like "Hubshare.VAF.VaultApplication Error: Failed to create a user in Hubshare: OPERATION: ERR_VALIDATION_RULE_IS_EMAIL - The email address is invalid."
At the writing of this article log file does not contain email address related to this error but we have made suggestions for improvement with ID HUB-1140 to include email address also in this error case. This improvement would make it possible for the local admin to verify format of email address.
Cause and Reason
Error message will appear if email address has semicolon, blank space in front of it or some other issue with it.
Solution
Check that email address is given in correct format if written or if copy-paste is used make sure there are no blank spaces.
Reference Documents
KnowledgeBase - Setting Up and Using M-Files Plugin for Hubshare
