This error message can be a little misleading as it implies that it is related to some security permissions not being configured correctly. In some cases this can be the case, however it can also be a problem with running CIL code. This can especially occur when you are going through the code upgrade steps.

image

There are a couple of solutions for this.

  1. Try to complete a full CIL compile with errors.
  2. If the full CIL fails or has errors, then uncheck the “Execute business operations in CIL”, under File > Tools > Options – in the Development tab, as below:

image