Hi,

You may come across the below exception while generating wrapper classes using “crmsvcutil.exe” tool which comes along with CRM SDK.

Could not load file or assembly ‘Microsoft.IdentityModel Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find specified

Reason :-

        The reason for this error could be the machine does not have “Windows Identify Foundation Pack” installed

Fix :-

Hope it helps 🙂

Advertisements
Advertisements

One response to “Could not load file or assembly ‘Microsoft.IdentityModel’ exception on wrapper class generation in CRM 2011”

  1. Alist Avatar

    many thanks for advise. After upgrading Win 2008 to R2, my SP stop working. Apparently WIF KB fix is different for these two Win2008 versions.

Leave a comment