Exception Observed while adding Symantec Endpoint Encryption Management Server 11.1 snap-ins for Windows Server 2008 r2 MMC
The following exception occurs:
Exception Stack trace :
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase,
Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound,
Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence
assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Activator.CreateInstance(String assemblyName, String typeName,
Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args,
CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String
typeName)
at Microsoft.ManagementConsole.Internal.SnapInClient.CreateSnapIn(String
assemblyName, String typeName)
at Microsoft.ManagementConsole.Internal.ClassLibraryServices.Microsoft.ManagementConsole.Internal.IClassLibraryServices.CreateSnapIn(String
assemblyName, String typeName)
at Microsoft.ManagementConsole.Executive.SnapInInitializationOperation.OnStart()
at Microsoft.ManagementConsole.Executive.RunningOperationsTable.EnqueueOperation(Operationoperation) at Microsoft.ManagementConsole.Executive.StandAloneComponentData..ctor(SnapInRegistrationInfo info, Int32 bookkeepingId) at
Microsoft.ManagementConsole.Advanced.FrameworkSnapInFactory.Microsoft.ManagementConsole.Advanced.ISnapInFactory.CreateSnapIn(Int32
bookkeepingId, String snapInKey, Object& snapIn)
This issue occurs due an incompatibility between MMC version 3.0 and .Net version 4.5 on specific Operating System versions as mentioned on Microsoft's Website.
A workaround to this issue can be used by adding the following Windows System Variable:
1. Open the Advanced System Settings and click on "Environment Variables" shown in the following screenshot:
2. Next, enter the text below as seen in the screenshot:
"COMPLUS_Version = v4.0.30319"
3. Save these settings. It may be necessary to logout and login to the system again before this works.