Error after configuration Wizard
I am having the following after installing the Central admin
Loading this assembly would produce a different grant set from other instances
I changed the following key as I found it in the following link
Configure the following registry settings using regedit.exe:
Solution
Change assembly load optimization
In key ‘HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework‘, create a new ‘DWORD (32-bit) Value’ named “LoaderOptimization” with a value 1 (either in decimal or hexadecimal as they are the same).
And here also
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework‘, create a new ‘DWORD (32-bit) Value’ named “LoaderOptimization” with a value 1 (either in decimal or hexadecimal as they are the same).
This solution is not supported. Check http://blog.bugrapostaci.com/2017/02/08/loading-this-assembly-would-produce-a-different-grant-set-from-other-instances-exception-from-hresult-0x80131401/ for a supported solution.
LikeLike