CRM 2011 – Quick start not so quick

I was trying to run the quick start project today in the CRM 2011 SDK.

Quick Start : A simple Program

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


CRM 2011 – Deployment Manager launch failure

Attempting to run Deployment Manager on Server 2008 R2 error:

MMC Could not create the snap-in. The snap-in might not have been installed correctly.

Name: Deployment Manager

CLSID: FX:{1ac9de3e-24ae-480d-9e15-65386b76e433}

This is what I call a windows 7 Administrator problem.
To resolve this you have to right click the deployment manager and choose run as Administrator.  You can also right click and set the properties, hit the advanced tab and choose Run as administrator and it will do it every time.