My Technical, Professional and at times Personal Blog

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 .
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.”
image
You must complete before running setup.exe
Once you complete the steps 1 & 2, you will be able to continue with the install.
image
image
image
image
image
image
Ouchie!
image
Exception: System.IO.FileNotFoundException: 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.
File name: 'Microsoft.IdentityModel, Version=3.5.0.0, 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
image
Check to see if there are any Windows Updates. If there are, go ahead and apply them.
image
Above Problem was solved, over to the next
image
Exception: Microsoft.SharePoint.Upgrade.SPUpgradeException: 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.DataVisualization, Version=3.5.0.0, 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
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17331
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
image
image
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.
image
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. Smile
image
image
Resources:
http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx
http://technet.microsoft.com/en-us/library/cc262485.aspx
http://blogs.technet.com/b/wbaer/archive/2009/12/11/common-microsoft-sharepoint-server-2010-installation-issues-and-resolutions.aspx

Google+ Followers