Installing SharePoint 2010 on Windows 7
I hope this post is helpful to those who are trying to install SharePoint 2010 on Windows 7 PC. I think I must have run into every error possible out there, probably due to lack of reading documentation and the fact that this is a Windows 7 Installation. At the end of it, it worked, which for me made my day. But first be sure to check out the references especially the article on how to install SP2010 on Windows 7 here.If you run SharePoint 2010 setup.exe right off the bat on Windows 7, you’re most likely to be greeted with the below message “Setup is unable to proceed due to the following errors: This product requires Windows Server 2008 Service Pack 2 or above. Correct the issues listed above and re-run setup.”
You must complete steps 1 & 2 before running setup.exe
Once you complete the steps 1 & 2, you will be able to continue with the install.
Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.IdentityModel, Version=184.108.40.206, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.IdentityModel, Version=220.127.116.11, Culture=neutral, PublicKeyToken=….
To resolve the above error, I create a bat file, placed the below command in it and ran it:
prereq.bat (this is not provided in the installation, you can create it yourself)
start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ManagementScriptingTools;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-RequestFiltering;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI;WCF-HTTP-Activation;WCF-NonHTTP-Activation
Check to see if there are any Windows Updates. If there are, go ahead and apply them.
Above Problem was solved, over to the next
Exception: Microsoft.SharePoint.Upgrade.SPUpgradeException: Failed to call GetTypes on assembly Microsoft.Office.Server.Search, Version=18.104.22.168, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Could not load file or assembly 'System.Web.DataVisualization, Version=22.214.171.124, Culture=neutral, PublicKeyToken=…' or one of its dependencies. The system cannot find the file specified.
Googled the issue and found a possible solution:
This assembly is part of the "Microsoft Chart Controls for the Microsoft .NET Framework 3.5", one of the prerequisites to install SharePoint 2010. You can download the right version at http://go.microsoft.com/fwlink/?LinkID=122517
Also install Windows Identity Foundation from here
The Windows Identity Foundation helps simplify user access for developers by externalizing user access from applications via claims and reducing development effort with pre-built security logic and integrated .NET tools.I installed the highlighted one
Another issue: Exception: Microsoft.SharePoint.SPException: User cannot be found.
If you are installing as an administrator but your account is part of a domain, you will need to make sure you have online access to the domain controller. Otherwise configuration will fail on Step 2 with “Exception: Microsoft.SharePoint.SPException: User cannot be found.” This was resolved after I logged into my domain using VPN.
and another issue: By now, I am ready to pull my hair out.
Solution here helped: http://blogs.technet.com/b/wbaer/archive/2009/12/11/common-microsoft-sharepoint-server-2010-installation-issues-and-resolutions.aspx
and finally: Aaahhhhh relief. Its 9 AM and I’m ready for a beer.