Error “The maximum number of script executions for a single operation has been reached” when importing from a linked network folder

Hi everyone,

We’re observing a strange behavior in one of our vaults and would like to know if anyone has seen something similar.

When importing documents via a linked network folder connection, some files (not all) trigger the following error:

The maximum number of script executions for a single operation has been reached for the object.

The confusing part is that no scripting logic is configured in the vault:

  • No Property Calculators,

  • No Automatic Values,

  • No Event Handlers,

  • No VAF applications.

All previous scripts were removed, the server was restarted, and the linked connection recreated — yet the issue persists on most imported files.
A few files are imported normally, while others consistently produce this error.

Has anyone experienced something similar, or can explain what internal process might still trigger repeated “script executions” in this context?

We’re running M-Files Server 25.10.15296.12

Thanks in advance for any insights or experiences you can share!


— Anne

Parents
  • Just a quick update — we increased the limit for the maximum number of script executions,
    and the issue no longer occurs. Imports from the linked folder now work as expected.

    It seems this setting was the key factor, even though the exact reason for the unusually high number of internal executions remains unclear.
    We currently have three linked folders, which raises a few questions for the future — for example,
    whether this limit might need to be adjusted again if additional connections are added.

    For now, everything is stable.
    Thanks everyone for your input and ideas!
    — Anne

Reply
  • Just a quick update — we increased the limit for the maximum number of script executions,
    and the issue no longer occurs. Imports from the linked folder now work as expected.

    It seems this setting was the key factor, even though the exact reason for the unusually high number of internal executions remains unclear.
    We currently have three linked folders, which raises a few questions for the future — for example,
    whether this limit might need to be adjusted again if additional connections are added.

    For now, everything is stable.
    Thanks everyone for your input and ideas!
    — Anne

Children