Exceptions when installing SharePoint 2010 on Windows 7

If you’re a SharePoint developer you probably sway between using VMs and real hardware. Installing SharePoint 2010 on Windows 7 is actually a pretty easy thing to do so long as you follow the steps methodically. That said it is not always perfect and there are two commonly found bumps when installing on a clean machine. Fortunately their fixes are as easy as one could hope for.

When you run the configuration wizrd you may get the following exceptions. Their resolution is pretty simple.

If you get:

An exception of type System.IO.FileNotFoundException was thrown.  Additional exception information: 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 the file specified.

Download and install the Windows Identity Foundation Pack from here: http://www.microsoft.com/downloads/details.aspx?FamilyID=eb9c345f-e830-40b8-a5fe-ae7a864c4d76&displaylang=en

If you get:

An exception oftype Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown. Additional exception information: Failed to call GetTypes on assembly Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Could not load file or assembly ‘System.Web.DataVisualition, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find thefile specified.


Download and install Chart Controls from here: http://www.microsoft.com/downloads/details.aspx?FamilyId=130F7986-BF49-4FE5-9CA8-910AE6EA442C&displaylang=en

You can get more details here: http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx

Exceptions when installing SharePoint 2010 on Windows 7