[OutDoc] ERROR: Loading this assembly would produce a different grant set from other instances

Forge Component
Published on 9 Oct (2 weeks ago) by OutSystems R&D
44 votes
Published on 9 Oct (2 weeks ago) by OutSystems R&D
We're getting this error when we attempt to generate an eSpace or a Solution's documentation.

And, as previously mentioned, the source code is empty - so I can't get in and recompile it for a new target.

We could definitely use the help as soon as possible.  Is it possible to get a compilation that utilizes a newer .NET version.

Hi Bryan,

We recently had that same issue with outdoc and the solution to this was:

Create a new registry DWORD value called LoaderOptimization and give it the value 1 within the key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NETFramework”.
and reboot the server.

Best regards,



We are experiencing the same issue. Tried the DWORD & restarted, and still doesn't work. Running OS11 on-premise.

Any updates on this error?

Thank you