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 :-

Hope it helps 🙂

Advertisement
  1. September 19, 2012 at 9:22 AM

    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.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: