SharePoint 2010 Development Environment on Windows 8 RP

Disclaimer:  The information found in this blog post is not endorsed, recommended, or supported by Microsoft.  If you run into any issues with this configuration you are on your own!  You have been warned.

This blog post outlines how you can get SharePoint 2010 running on Windows 8 RP for development purposes.  I put this together as a way to test out Visual Studio 2012 RC with SharePoint 2010 on Windows 8 RP.

To get started, please review the MSDN document called Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows 7, and Windows Server 2008.  These are the basic steps required for getting SharePoint 2010 running on Windows 7.  To get SharePoint running on Windows 8 RP there are a few additional steps which I have outlined below.  Some of the steps will reference information in the MSDN article linked above.

  1. Download and Copy the SharePoint installation file to a folder (such as c:\SharePointFiles) on the computer where you are installing SharePoint and doing your development.  The SharePoint installation file should be a single .EXE file such as OfficeServer.exe.
  2. Extract the installation files by opening a command prompt window and then typing the following command at the directory location of the folder where you copied the installation files in the previous step.    OfficeServer.exe /extract:c:\SharePointFiles
  3. Using a text editor such as Notepad, open the installation configuration file, config.xml, located in the path c:\SharePointFiles\files\Setup\config.xml and add the following line inside the <configuration> tag:
    <Setting Id=”AllowWindowsClientInstall” Value=”True”/>
  4. Save the configuration file.
  5. Review the configuration file.  It should look similar to the XML block shown in Step 2 sub-step 5 in this document.
  6. Install the following prerequisites:
    1. Microsoft Sync Framework
    2. Chart Controls
    3. Filter Pack – Located in the c:\SharePointFiles\PrerequisiteInstallerFiles\FilterPack folder
    4. SQL Server Analysis Services ADOMD.NET
  7. Enable Windows features by running the command shown in Step 2 sub-step 8 in this document.
  8. Manually enable the Windows Identity Foundation feature by:
    1. Go to the start menu (press the Windows key on the keyboard)
    2. Type: “Windows Features”
    3. Click on the Settings shown below the search box
    4. Click on the Turn Windows Features On or Off option on the start menu
    5. Check the Windows Identity Foundation 3.5 option and then click OK.
    6. Wait for the feature to be enabled.
  9. Open Internet Information Services Manager and expand the server node in the left tree menu to expose the Application Pools grouping.
  10. Select Application Pools in the left menu and then click on the Set Application Pool Defaults… action in the right menu.
  11. Set the .NET Framework version to V2.0 and then click OK
  12. Select the DefaultAppPool from the list of application pools and then click on the Basic Settings… action in the right menu.
  13. Set the .NET Framework version to .NET Framework v2.0.50727 and then click OK.
  14. Run the SharePoint 2010 installer by typing the following at the command prompt:  c:\SharePointFiles\Setup.exe
  15. Accept the Microsoft Software License Terms
  16. On the Choose the installation you want page, click Standalone to install everything on the developer workstation.
  17. After the SharePoint files are installed you will be presented with the option to run the SharePoint Products and Technologies Configuration Wizard.  You should allow this to run.  If you do not run the Wizard now you can run it at a later time.  The SharePoint installation is not completed until the Wizard is run.
  18. One the configuration Wizard completes you will see your new SharePoint 2010 Site.

Note:

  • SharePoint 2010 Only works with application pools that are set to version 2 of the .NET framework.  If any of the application pools used by SharePoint are set to anything else you will receive an error during the SharePoint 2010 Products and Configuration Wizard.   You can return to IIS manager and review the application pool settings at any time.  If the wizard fails due to the wrong .NET version you can modify the application pool and then restart the wizard.

I would like to hear feedback If you try running SharePoint 2010 on Windows 8 RP for development evaluation purposes.

12 thoughts on “SharePoint 2010 Development Environment on Windows 8 RP

  1. batto

    Thank you for your guide. I follow and install sharepoint successfully on my windows 8 pc but when i go to center admin site, it ask for username and password. I have no idea what they are because during installation, i was asked for password only?

    Any help?
    Thank you.

    Reply
  2. Gustavo Nalin

    On the SharePoint Products Configuration Wizard, in step 2 (create the Configuration DataBase), I was receiving the folow error message:

    Microsoft.SharePoint.Upgrade.SPUpgradeException: Failed to call GetTypes on assembly Microsoft.Office.InfoPath.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Could not load file or assembly ”Microsoft.Office.InfoPath, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” or one of its dependencies.

    Anyone got this message ?

    Reply
    1. Alex M

      I ran into this same issue when installing on Windows 7. I found a post out there about SharePoint 2010 and InfoPath 2013 incompatability. After following the directions (basically just uninstall InfoPath 2013), I was able to finalize the configuration.

      Not sure thats your issue, but hope it helps.

      Reply
  3. Siline

    Hi Mike,
    Followed your guide step by steps. but my sharepoint configuration wizard is fail.
    it say: Failed to create the configuration database.
    An exception of type System.IO.FileNotFoundException was thrown. additional exception information: Could not load file or assembly ”Microsoft.IdentityModel, Version=1.0.0.0,Culture=neutral PublicKeyToken=31bf3856ad364e35” or one of its dependencies. the system can not find the file specified.

    Please help!

    thanks.

    Reply
    1. mphacker Post author

      Sounds like the Windows Identity Framework was not enabled in Windows 8. Make sure this has been turned on in the Windows 8 Features.

      Reply
  4. mphacker Post author

    This blog post was created during the release preview phase of Windows 8. Since that time Microsoft has stated that running SharePoint 2013 on Windows 8 is not supported, even for development purposes. If you are new to SharePoint 2013 development I would recommend that you look at the new modern application development model. This model does not require SharePoint 2013 to be installed on the developers workstation. For a good SharePoint 2013 development overview check out this post: http://blog.mikehacker.net/2013/05/08/sharepoint-2013-development-overview/

    Check out http://msdn.microsoft.com/sharepoint for detailed examples and information on how to setup a development environment for SharePoint 2013.

    Reply

Leave a Reply