Compliance Kit - Operation not allowed. Script is being executed for the object

Hi everyone,

suddenly our client is getting an error when wanting to trigger state transition used for declining document. They've been having no issues with this function until now.

Any tips?

DlgChangeState.cpp, 726, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
VaultDocumentOperations.cpp, 3410, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
VaultDocumentOperations.cpp, 3462, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
ElectronicSignatureUIHelper.cpp, 239, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
VaultSignatureOperations.cpp, 193, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
ThreadOutCaller.cpp, 67, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
ThreadOutCaller.cpp, 581, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
VaultMethodCallTasks.cpp, 5010, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
CoVaultMountingDocumentOperations.cpp, 3254, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
CoVaultMountingDocumentOperations.cpp, 3342, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
DocumentCache.cpp, 11818, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
DocumentCache.cpp, 11929, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
DocumentCache.cpp, 20383, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
RPCMethodCallWithRetry.h, 36, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
RPCMethodCallWithRetry.h, 36, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
RPCDocumentOperations.cpp, 12605, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
RPCDocumentOperations.cpp, 7173, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
MCallInLoop.h, 521, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 4291, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 3808, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
RPCDocumentOperationsHelperPrivate.cpp, 11314, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 11252, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 12217, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
VaultDBSessionEvents.cpp, 381, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
VaultDBSessionEvents.cpp, 1714, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 275, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 340, Script execution failed. ((AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut: 316-10)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 340, Operation not allowed. Script is being executed for the object "316". (0x80040834)
VaultScriptSessionTemplates.cpp, 523, Operation not allowed. Script is being executed for the object "316". (0x80040834)
CoActiveScriptSite.cpp, 897, Operation not allowed. Script is being executed for the object "316". (0x80040834)
CoActiveScriptSite.cpp, 739, Operation not allowed. Script is being executed for the object "316". (0x80040834)
AfterCheckOut::MFiles.ComplianceKit.MFEventHandlerAfterCheckOut, 22, Operation not allowed. Script is being executed for the object "316". (0x80040834)
CoDynamicCLRObjectWrapper.cpp, 552, Operation not allowed. Script is being executed for the object "316". (0x80040834)
CoDynamicCLRObjectWrapper.cpp, 322, Operation not allowed. Script is being executed for the object "316". (0x80040834)
ManagedError.cpp, 149, Operation not allowed. Script is being executed for the object "316". (0x80040834)
VaultApplicationBase.cs, 266 (IL:45), Operation not allowed. Script is being executed for the object "316". (0x80040834)
VaultApplicationBase.cs, 831 (IL:82), Operation not allowed. Script is being executed for the object "316". (0x80040834)
MethodInfo.cs, 229 (IL:105), Operation not allowed. Script is being executed for the object "316". (0x80040834)
ManagedPropertiesModule.cs, 428 (IL:0), Operation not allowed. Script is being executed for the object "316". (0x80040834)
ObjVerEx.cs, 1616 (IL:56), Operation not allowed. Script is being executed for the object "316". (0x80040834)
M-Files Compliance Kit 21.12.1057.8: [MFilesAPI.ObjectVersionAndProperties SetProperties(MFilesAPI.ObjVer, MFilesAPI.PropertyValues)], IL:-1, Operation not allowed. Script is being executed for the object "316". (0x80040834)
CoVaultObjectPropertyOperations.cpp, 382, Operation not allowed. Script is being executed for the object "316". (0x80040834)
CoVaultObjectPropertyOperations.cpp, 431, Operation not allowed. Script is being executed for the object "316". (0x80040834)
CoVaultObjectPropertyOperations.cpp, 457, Operation not allowed. Script is being executed for the object "316". (0x80040834)
CoVaultObjectPropertyOperations.cpp, 529, Operation not allowed. Script is being executed for the object "316". (0x80040834)
ServerVaultObjectPropertyOperationsHelper.cpp, 287, Operation not allowed. Script is being executed for the object "316". (0x80040834)
RPCObjectOperationsHelper.cpp, 115, Operation not allowed. Script is being executed for the object "316". (0x80040834)
CoRPCOverCOM.cpp, 10267, Operation not allowed. Script is being executed for the object "316". (0x80040834)
RPCDocumentOperations.cpp, 7173, Operation not allowed. Script is being executed for the object "316". (0x80040834)
MCallInLoop.h, 521, Operation not allowed. Script is being executed for the object "316". (0x80040834)
RPCDocumentOperationsHelper.cpp, 4291, Operation not allowed. Script is being executed for the object "316". (0x80040834)
RPCDocumentOperationsHelper.cpp, 3820, Operation not allowed. Script is being executed for the object "316". (0x80040834)
RPCDocumentOperationsHelperPrivate.cpp, 7639, Operation not allowed. Script is being executed for the object "316". (0x80040834)
RPCDocumentOperationsHelperPrivate.cpp, 7549, Operation not allowed. Script is being executed for the object "316". (0x80040834)
RPCDocumentOperationsHelperPrivate.cpp, 7835, Operation not allowed. Script is being executed for the object "316". (0x80040834)
RPCDocumentOperationsHelper.cpp, 1691, Operation not allowed. Script is being executed for the object "316". (0x80040834)
RPCDocumentOperationsHelperPrivate.cpp, 13947, Operation not allowed. Script is being executed for the object "316". (0x80040834)
RPCDocumentOperationsHelper.cpp, 24327, Operation not allowed. Script is being executed for the object "316". (0x80040834)
VaultTrTrackerHelper.cpp, 403, Operation not allowed. Script is being executed for the object "316". (0x80040834)
VaultTrTrackerHelper.cpp, 1184, Operation not allowed. Script is being executed for the object "316". (0x80040834)
(M-Files 23.8.12892.6 2023-09-15T08:03:45.342Z)

Parents
  • The error stack suggests that the problem might be related to Compliance Kit's Managed Properties module:

    ManagedPropertiesModule.cs, 428 (IL:0), Operation not allowed. Script is being executed for the object "316". (0x80040834)

    I suggest checking the rules in that module and thinking if any of those might cause for instance some locking situation when the workflow state is changed.

  • Hi  hope all well? we are also having this same issue. We have set the option 'only calculate on check in' to YES in Managed Properties however the errors are still logged on the server. We have a managed property named 'Master Vehicle Link' in object 'House Bill' - The managed property needs to be updated by Compliance Kit to list all the vehicles selected in properties 'Select Vehicle 1, Select Vehicle 2, Select Vehicle 3' etc. which are also in the same House Bill object. Is there anything we are missing in the setup?

Reply
  • Hi  hope all well? we are also having this same issue. We have set the option 'only calculate on check in' to YES in Managed Properties however the errors are still logged on the server. We have a managed property named 'Master Vehicle Link' in object 'House Bill' - The managed property needs to be updated by Compliance Kit to list all the vehicles selected in properties 'Select Vehicle 1, Select Vehicle 2, Select Vehicle 3' etc. which are also in the same House Bill object. Is there anything we are missing in the setup?

Children
No Data