Setting Up a Development Environment for SharePoint 2010 on Windows 7 x64

When we use to develop or customize a SharePoint solution its always a best practice to develop it on a local computer off course where we have SharePoint server is installed. In old ages we use to have a configured VM with either Microsoft Windows 2003/2008 server with the required version of Microsoft  Office SharePoint Server 2003, everybody knows how much pain it was.

With SharePoint 2010 setting up a development environment is just a piece of cake, you just need a couple of software's to start with. Right now this guide is being written to configure SharePoint 2010 with Windows 7 x64.


Hardware & Software Requirement:

Prerequisites for SharePoint 2010

  • Microsoft FilterPack 2.0
    Step 1:
    Extract setup.exe file to a folder on computer where you are installing the SharePoint in my case its “D:\SharePointSetup”, to do so open the command prompt (cmd.exe) and type or copy\past ;) following line of code:

    D:\SharePointSetup\SharePoint2010Setup /extract:D:\SharePointSetup
    or
    {Setup directory}\SharePoint2010Setup /extract:{Setup directory}

    Step 2:
    Navigate to the extracted folder and install Microsoft FilterPack 2.0 – if you are following the same directory structure you can find the setup file in following location:

    D:\SharePointSetup\PrerequisiteInstallerFiles\FilterPack\FilterPack.msi
    or
    {Setup directory}\PrerequisiteInstallerFiles\FilterPack\FilterPack.msi
  • Microsoft Sync Framework
  • SQL Server Native Client
  • Windows Identity Foundation (Windows6.1-KB974405-x64.msi)
  • Chart Controls
  • SQL Server Analysis Services - ADOMD.Net
  • Internet Information Services with features as listed in figure; you can do this in a geek way by copying following line’s of code or you can enable the features in the Internet Information Services section of the Windows features dialog box.
    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
    -- or --
    image
  • By default SharePoint Server 2010 is not suppose to install on development env. if you miss following steps you will encounter following error:
    setup error
    - Use a text editor of your choice and open the configuration file, config.xml from the extracted setup directory:

    D:\SharePointSetup\files\Setup\config.xml
    or
    {Setup directory}\files\Setup\config.xml

    - Add this setting in the <configuration> tag, please make sure that all configurations are case-sensitive if you do not save the configurations as described setup wont work at your end:
    <Setting Id="AllowWindowsClientInstall" Value="True"/>

Installing SharePoint 2010

  1. Navigate to the extracted setup directory and double click the Setup.exe file. D:\SharePointSetup\Setup.exe
    or
    {Setup directory}\Setup.exe
  2. Accept licensing terms from Microsoft.
  3. Select “Standalone” on “Choose the installation you want” wizard step.
    setup wizard
  4. Incase setup fails you need to look for the log files which are created in the temporary folder, to locate the log files navigate to %temp% file path either using windows explorer, command prompt or by run prompt.
  5. Incase there were no such errors during the installation you will be prompted to the final step of the wizard “SharePoint Products and Technologies Configuration Wizard”  this will configure the SharePoint default site, SharePoint Central Administrator and SharePoint Web Services with SQL named Instance “SHAREPOINT”.
    Note: Before moving forward with this wizard make sure you install the Microsoft  SQL Server 2008 KB 970315 x64 upgrade package. Incase if you close the wizard or want to run it another day or so wizard can be restarted from following directory:

    "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\psconfigui.exe"

3 comments:

  1. Hi Matloob,

    I'd like to subscribe via RSS, but feedburner gives me an error.
    Can you, please, solve this? As I find your posts interesting to follow!

    Thanks in advance! Kind regards,
    Arjan Vos (Logica), the Netherlands

    ReplyDelete
  2. Hey Arjan Vos (Logica),

    Thanks for list the error with RSS feeds, I have fixed the issue let me know if you still get it. Thanks again for appreciating the post.

    ReplyDelete
  3. Matloob,

    Just back from holiday ;-) I'm able to subscribe via RSS. Thank you!

    Grtz, Arjan Vos

    ReplyDelete