Home
> CRM 2011 > Could not load file or assembly ‘Microsoft.IdentityModel’ exception on wrapper class generation in CRM 2011
Could not load file or assembly ‘Microsoft.IdentityModel’ exception on wrapper class generation in CRM 2011
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 :-
- Download and install the Windows Identity Foundation Pack on the machine where you are trying to generate the wrappers.
Hope it helps 🙂
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.