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

Forge Component
Published on 20 Mar by OutSystems R&D
36 votes
Published on 20 Mar 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,