VAF Error - Permission denied: 'extension.NewEnvironment'

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:

I get a similar error when attempting to transition to a new workflow state:

I've tried taking the vault offline and back online, and uninstalling and reinstalling the extension

Any assistance would be greatly appreciated!

  • When trying to get to the "configurations" / "other applications" portion of M-Files I sometimes receive the error below as well associated with this same extension:

    This error is confusing as it references a "Remote server machine", but extension.newenvironment is something that is a part of the event handlers enabling the extensions - it isn't a part of my code or anything to do with a remote machine.

  • Can also update to confirm that this error persists through uninstalling extension, rebooting M-Files machine (not just restarting vault) and reinstalling the VAF application. I've also ensured that I'm running the latest versions of everything:

    • MFiles.VAF 24.10.720.2
    • MFiles.VAF.Extensions 24.12.75
    • targeting .NET 4.7.2

    I did notice that when uninstalling the application it did not remove the event handler automatically, so I also tried manually uninstalling the event handler and then reinstalling the application.

    I did however manage to chase down an error in the event log (wasn't expecting to find one here!):

    I had some lines implementing a task queue, as follows:

    When I removed those lines and recompiled everything started working again without a problem. I wasn't actually using the Task Queue yet - I just had it in there as I intended to add queue steps to subsequent processes. It seems like maybe having a task queue defined without having any task processors defined caused this error?