Type is not resolved for member 'Microsoft.IdentityModel

Posted by Community Admin on 03-Aug-2018 18:46

Type is not resolved for member 'Microsoft.IdentityModel.Claims.ClaimsPrincipal.Microsoft.IdentityModel

All Replies

Posted by Community Admin on 14-Mar-2014 00:00

We are getting the following error on our server(s) that use IIS8.:

Message: Type is not resolved for member 'Microsoft.IdentityModel.Claims.ClaimsPrincipal.Microsoft.IdentityModel

I have came across a fix for this in the following KB article:

www.sitefinity.com/.../getting-type-is-not-resolved-for-member-microsoft-identitymodel-claims-claimsprincipal-exception

 One thing I have noticed is that the Windows Feature, Windows Identity Foundation, is not enabled on our server.  I know we can just add the DLL (which is in our bin folder of our solution files) like the link above states, but was wondering if by activating the feature I mentioned solve the issue?  If that is the case, should that be mentioned somewhere in the install steps?  When the error randomly occurs, the users are not getting a error, but we think that is because we have load balancing set up.  We noticed that when the error occurs, it restarts the App Pool automatically.  It is believed that when that happens the users get bounced to the "other" server, so in return do not see any errors come on the screen to them.

We do have all the steps correct in the following link:

www.sitefinity.com/.../switching-to-claims-based-authentication

 Has anyone experienced this error and able to shed some more light on the situation at hand?  Thanks!

Posted by Community Admin on 25-Mar-2017 00:00

Hi, I have the same problem, did you find any solution to the issue?

This thread is closed