I'm having an unusual new error with a VAF workflow extension. When I try to access the configuration status in M-Files admin I receive the following error:
Error: Permission denied: 'extension.NewEnvironment' at MFilesErrorHelper.GetAsyncRejectionError (/lib/mfiles/MFilesErrorHelper.js:24:17) at Anonymous function (/lib/mfiles/helpers/VaultExtensionMethodCaller.js:85:21) AsyncCaller.cpp, 362, Permission denied: 'extension.NewEnvironment' (0x80040008) CoVaultExtensionMethodOperations.cpp, 152, Permission denied: 'extension.NewEnvironment' (0x80040008) LatestRPC.generated.cpp, 49141, Permission denied: 'extension.NewEnvironment' (0x80040008) IRPCVaultExtensionMethods.generated.cpp, 482, Permission denied: 'extension.NewEnvironment' (0x80040008) gRPCClient.cpp, 497, Permission denied: 'extension.NewEnvironment' (0x80040008) gRPCClient.cpp, 466, Permission denied: 'extension.NewEnvironment' (0x80040008) gRPCClient.cpp, 99, Permission denied: 'extension.NewEnvironment' (0x80040008) gRPC.generated.cpp, 33066, Permission denied: 'extension.NewEnvironment' (0x80040008) RPCVaultExtensionMethods.cpp, 231, Permission denied: 'extension.NewEnvironment' (0x80040008) RPCVaultExtensionMethods.cpp, 797, Permission denied: 'extension.NewEnvironment' (0x80040008) RPCVaultExtensionMethods.cpp, 942, Permission denied: 'extension.NewEnvironment' (0x80040008) MCallInLoop.h, 535, Permission denied: 'extension.NewEnvironment' (0x80040008) RPCVaultExtensionMethods.cpp, 905, Permission denied: 'extension.NewEnvironment' (0x80040008) VaultDBSessionEvents.cpp, 1014, Permission denied: 'extension.NewEnvironment' (0x80040008) VaultScriptSessionTemplates.cpp, 470, Permission denied: 'extension.NewEnvironment' (0x80040008) VaultScriptSessionTemplates.cpp, 445, Permission denied: 'extension.NewEnvironment' (0x80040008) VaultScriptSessionTemplates.cpp, 627, Permission denied: 'extension.NewEnvironment' (0x80040008) CoActiveScriptSite.cpp, 907, Permission denied: 'extension.NewEnvironment' (0x80040008) CoActiveScriptSite.cpp, 745, Permission denied: 'extension.NewEnvironment' (0x80040008) VaultExtensionMethod::DocumentWorkflow.MFEventHandlerVaultExtensionMethod, 17, Permission denied: 'extension.NewEnvironment' (0x80040008) MErrorHelper.cpp, 2347, Permission denied: 'extension.NewEnvironment' (0x80040008) (M-Files 24.12.14341.6 2025-01-13T02:46:29.674Z)
I get a similar error when attempting to transition to a new workflow state:
<MetadataEditor>, -, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) ScriptErrorHelper.cpp, 96, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) MDispatchExImpl.h, 679, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) MDispatchExImpl.h, 841, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) MetadataCardAction.cpp, 386, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) MetadataCardAction.cpp, 560, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) MetadataEditor.cpp, 2972, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) MetadataModel.cpp, 4540, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) MetadataModel.cpp, 4991, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) ElectronicSignatureUIHelper.cpp, 239, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) MetadataModel.cpp, 12770, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) CoVaultMountingDocumentOperations.cpp, 3333, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) CoVaultMountingDocumentOperations.cpp, 3421, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) DocumentCache.cpp, 11966, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) DocumentCache.cpp, 12077, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) DocumentCache.cpp, 20514, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) IRPCObjectOperations.generated.cpp, 18362, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) gRPCClient.cpp, 497, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) gRPCClient.cpp, 466, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) gRPCClient.cpp, 99, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) gRPC.generated.cpp, 19710, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) RPCDocumentOperations.cpp, 7277, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) MCallInLoop.h, 535, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) RPCDocumentOperationsHelper.cpp, 4572, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) RPCDocumentOperationsHelper.cpp, 4062, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) RPCDocumentOperationsHelper.cpp, 9734, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) RPCDocumentOperationsHelper.cpp, 10476, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) RPCDocumentOperationsHelper.cpp, 26207, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) RPCDocumentOperationsHelperPrivate.cpp, 2985, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) RPCDocumentOperationsHelperPrivate.cpp, 3202, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) RPCDocumentOperationsHelperPrivate.cpp, 3631, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) RPCDocumentOperationsHelperPrivate.cpp, 4518, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) VaultScriptSessionTemplates.cpp, 280, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) VaultScriptSessionTemplates.cpp, 381, Script execution failed. ((Roll Back, StateAction: 32970-52)) (0x800408BB) VaultScriptSessionTemplates.cpp, 381, Permission denied: 'extension.NewEnvironment' (0x80040008) VaultScriptSessionTemplates.cpp, 627, Permission denied: 'extension.NewEnvironment' (0x80040008) CoActiveScriptSite.cpp, 907, Permission denied: 'extension.NewEnvironment' (0x80040008) CoActiveScriptSite.cpp, 745, Permission denied: 'extension.NewEnvironment' (0x80040008) Roll Back, StateAction, 19, Permission denied: 'extension.NewEnvironment' (0x80040008) MErrorHelper.cpp, 2347, Permission denied: 'extension.NewEnvironment' (0x80040008) (M-Files 24.12.14341.6 2025-01-13T02:19:58.499Z)
I've tried taking the vault offline and back online, and uninstalling and reinstalling the extension
Any assistance would be greatly appreciated!