Posts Tagged ‘Could not load file or assembly’

Could not load file or assembly ‘Microsoft.IdentityModel’ exception on wrapper class generation in CRM 2011

December 26, 2011 1 comment


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=, 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 🙂