SharePoint Server 2010 on Windows 7

The good news is you can build your development environment on Windows 7. However, it is strongly recommended not to set Windows 7 as your production environment.

Lets start. According to installation prerequisites for SharePoint Server 2010 we need to have following software installed on the machine before thinking about installing SharePoint Server 2010. For more detailed info you can alternatively check SharePoint Server 2010 Installation Prerequisites.
  • Windows Server 2008 64-Bit, Windows 7 Professional 64-Bit, Windows Vista 64-Bit
    Note: I have chosen Win 7 Pro 64-Bit on my Mackbook Pro.
  • .Net Framework 3.5 (This is prerequisite for Microsoft SQL Server 2008 R2 which comes next)
    Note: Download .Net Framework 3.5 Now.
  • 64-bit edition of Microsoft SQL Server 2008 R2, OR
    64-bit edition of Microsoft SQL Server 2008 with Service Pack 1 (SP1) and Cumulative Update 2 OR
    64-bit edition of Microsoft SQL Server 2005 with Service Pack 3 (SP3)
    Note: I have chosen to install Microsoft SQL Server 2008 R2. Download SQL Server 2008 R2 Trial Now.
After making sure that you have installed all prerequisites for SharePoint Server 2010, it is time to isntall SharePoint. There is also an exe file coming with your SharePoint Installation pack by which you can check if all the requirements for your SharePoint is put in place properly. If you open installation pack you will find a file named Prerequisitesinstaller.exe. This program will let you know if your machine is ready to go for SharePoint installation or any thing else is required.

Download SharePoint Server 2010 Trial Now


Install SharePoint Server 2010 on Windows 7 64-Bit

Run SharePoint Server 2010 setup by double clicking on setup file. Installing SharePoint Server 2010 on Windows 7 is quite straight forward except for a few challenges that you may need to deal with.
  • At the beginning of installation you may get the following error:

       Error Message:
          Setup is unable to proceed due to the following error(s):
          This product requires Windows Server 2008 (x64).

       Resolution
       This can be easily fixed by editing setup config file. You can find detailed
       resolution for this error here. But if I you can also follow the steps below
       as to fix this as well:

         1- While the setup is running get into this directory:
              C:\Program Files (x86)\MSECache\oserver2010\Files\Setup\
         2- Open file config.xml
         3- Add following code somewhere between configuration tag:
             <Setting Id="AllowWindowsClientInstall" Value="True"/>
        
    Note: It will look like below:
              <configuration>
                             ....
                             ....
                             <Setting Id="AllowWindowsClientInstall" Value="True"/>

              </configuration>   

  • Next error that you may confront as part of SharePoint installation on Win 7 is as below:

       Error Message:
          Could not load file or assembly 'Microsoft.IdentityModel, Version=3.5.0.0,
          Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
      
       Resolution

       "Windows identity foundation pack" may be missed from your machine.
       To fix it you just need to download and run following file from Microsoft.
       To do so click on the link below:
       Windows Identity Foundation Download

  • The final challenge you may have can occur while you are trying to configure the SharePoint 2010 central admin

       Error Message
          Failed to call GetTypes on assembly Microsoft.Office.Server.Search, Version=14.0.0.0,
          Culture=neutral, PublicKeyToken=71e9bce111e9429c
      
       Resolution

       You might not installed the "Chart Control" in your windows 7 machine.
       You can find the fix for this error by downloading and running Chart Control
       from Microsoft website. To do so click on the link below:
       Chart Control Download

  • You may also get an error for your IIS not being setup. It rarely happens since you probable install IIS before every thing else but if it takes place you can follow the instruction in following Microsoft link:
    Installing IIS 7 on Windows Vista and Windows 7   

Now you may have started Administration configuration which is straight forward and has been explained in my previous article.

Other tools you will definitely require as a SharePoint developer are as below:
http://www.microsoft.com/visualstudio/en-us/download
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=566d3f55-77a5-4298-bb9c-f55f096b125d&displaylang=en