Exchange Management Console (EMC) crashes, and you receive an error: "MMC could not create the snap-in"

Article translations Article translations
Article ID: 979695 - View products that this article applies to.
Expand all | Collapse all

Symptoms

When you try to start the Exchange Management Console (EMC) snap-in, you receive the following error message:

MMC could not create the snap-in.
MMC could not create the snap-in. The snap-in might not have been installed correctly.
Name: Exchange Server 2007
CLSID: FX:{76dd58f7-54ba-42e3-a2e0-dbf4b674539f}

Unhandled Exception in Managed Code Snap-in
FX:{76dd58f7-54ba-42e3-a2e0-dbf4b674539f}
Could not load file or assembly 'Microsoft.Exchange.Management.SnapIn.Esm, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
Exception type: System.IO.FileLoadException
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(Operation operation)
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)

If you start the Exchange Management Shell (EMS) at a command prompt by running the cmdlet C:\Program Files\Microsoft\Exchange Server\bin\exshell.psc1, you receive the following error message:

WARNING: The following errors occurred when loading console C:|Program Files\Microsoft\Exchange Server\bin\exshell.psc1:
Cannot load Windows Powershell snap-in Microsoft.Exchange.Management.Powershell.Admin because of the following error:
Could not load file or assembly 'Microsoft.Exchange.Management.Powershell.Configuration, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856as364e35' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
Command ", ' C:\Program Files\Microsoft\Exchange Server\bin\exshell.psc1'" could not be executed because some Windows Powershell snap-ins did not load.

Cause

This issue occurs when you used the Strong Name tool, SN.exe, to disable Strong Name validation. Strong Name is a technology that was introduced together with the .NET Framework for use with managed code. Because Exchange Server 2007 uses managed code, Strong Name must be enabled. Otherwise, services will fail.

Note This issue can occur if there is an Exchange Server Interim Update (IU) installed. For information about how to resolve this issue when an Exchange Server IU is installed, see the "More Information" section.

Resolution

To resolve this issue, you must re-enable Strong Name validation. To do this, you must use the Strong Name tool (Sn.exe) that is included with the .NET Framework Software Development Kit (SDK).

To do this, open a command prompt, type the following command, and then press Enter:
sn -Vr *
Note To check your current settings for Strong Name verification, use the following command:

sn -Vl

More information

Strong Names Verification must disabled when you install an Exchange Server IU. Therefore, this issue can occur if there is an IU is installed on the Exchange Server computer. To resolve this issue when an IU is installed, uninstall the IU and then install the most recent Exchange Server service pack.

References

For more information about the .NET Framework SDK, go to the following Microsoft website:
.NET Framework 4.5
For more information about the .NET Framework security policy model, go to the following Microsoft Developer Network (MSDN) website:
Security Policy Model
For more information about how to use the Strong Name tool (Sn.exe) to create an assembly in the .NET Framework SDK, click the following article number to view the article in the Microsoft Knowledge Base:
302340 How to create an assembly with a strong name in the .NET Framework SDK

Properties

Article ID: 979695 - Last Review: November 8, 2013 - Revision: 3.0
Applies to
  • Microsoft Exchange Server 2007 Enterprise Edition
  • Microsoft Exchange Server 2007 Standard Edition
Keywords: 
kbsnapin kbexpertiseinter kbsurveynew kbprb KB979695

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com