I was trying to run the quick start project today in the CRM 2011 SDK.
As usual with CRM, nothing is easy, there is always that something that needs to be installed or tweaked etc.
So after trying to run this, I am getting this error
Could not load file or assembly ‘Microsoft.IdentityModel Version=126.96.36.199, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencie. The system cannot fine the find specified.
Now what initially threw me was the fact I had to put in CRM server and Port and then Domain and username. Sometimes when you put in these details you can get something slightly wrong, this could have course been a lot easier if I had a form to fill in and adjust it, rather than add in all the details and if you get it wrong you have to do it all again.
After decided it wasn’t me typing in something wrong, I started looking for a reason, then I found the problem is I don’t have the Windows Identify Foundation Pack installed on my Windows 7 machine. To resolve this problem, I downloaded and installed the Windows Identity Foundation Pack.
After trying to install the wrong package I found this line at the bottom
This download offers you the benefits of registering with Microsoft. Click the Continue button near the top of this page to register. After you have gone through the registration process, you will be returned to this page to begin the download.
Download the x86 or x64 runtime package appropriate for your system as follows:
- For Windows Vista and Windows Server 2008, select the msu file with name starting Windows6.0.
- For Windows 7 and Windows Server 2008 R2, select the msu file with name starting Windows6.1.
This is of course my problem for not reading the instructions but after that I was up and running