Loading this assembly would produce a different grant set from other instances

Leave a comment

April 10, 2018 by Ruaan Harmzen

We encountered this error when running the OutDoc solution on OutSystems. Based on some research this is a common issue across multiple platforms e.g. SharePoint and not just on OutSystems.

To resolve do the following:

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

After the change you should do an IISRESET but preferably a server restart


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: