Error Logging in to the Platform with Federation Enabled

Follow

A customer was having issues logging in to the Platform when federation was enabled. After some debugging via the Windows Event Logs, AD FS Admin section, the following error message was found:

System.NullReferenceException at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at System.Management.ManagementObject.Initialize(Boolean getObject) at System.Management.ManagementBaseObject.get_Properties() at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName) at System.Management.ManagementBaseObject.get_Item(String propertyName) at Microsoft.IdentityServer.Web.PassiveWmiUtility.SettingsObject.get_Item(String propertyName) at Microsoft.IdentityServer.Web.PassiveWmiUtility.IsProxy() at Microsoft.IdentityServer.Web.FederationPassiveAuthentication.IsServerProxy()  

The issues has to do with the fact that the Identity Federation Website's app pool is configured to allow 32bit deployment. In order to resolve the issue, simply set that setting to False in the Application Pool's configuration window.

Have more questions? Submit a request

Comments