Exchange 2013 could not load ‘Microsoft.Exchange.Management.Security.AdfsFederationAuthModule
Nach der Installation von Exchange 2013 auf einem Windows Server 2012 funktioniert zwar OWA, aber das Exchange Admin Center liefert beim öffnen der URL https://localhost/ecp folgenden Fehler:
Could not load type ‘Microsoft.Exchange.Management.Security.AdfsFederationAuthModule’.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Could not load type ‘Microsoft.Exchange.Management.Security.AdfsFederationAuthModule’. Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Could not load type 'Microsoft.Exchange.Management.Security.AdfsFederationAuthModule'.] System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +12745785 System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +76
[ConfigurationErrorsException: Could not load type 'Microsoft.Exchange.Management.Security.AdfsFederationAuthModule'.] System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +12653504 System.Web.Configuration.Common.ModulesEntry.SecureGetType(String typeName, String propertyName, ConfigurationElement configElement) +69 System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) +66 System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) +300 System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) +1262 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +133 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475
[HttpException (0x80004005): Could not load type 'Microsoft.Exchange.Management.Security.AdfsFederationAuthModule'.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12847312 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12675965
Lösung:
Der Fehler wird verursacht, weil ein notwendiges Feature, namens „Windows Identity Foundation 3.5„, im Windows Server 2012 nicht installiert ist. Zur Lösung muss einfach das Feature „Windows Identity Foundation 3.5“ nachinstalliert werden, ein Neustart ist nicht notwendig.
Wenn ihr Exchange 2013 unter Windows Server 2008 R2 SP1 installiert, dann muss “Windows Identity Foundation” von http://support.microsoft.com/kb/974405 heruntergeladen werden.