Today I set out to install SharePoint Server 2010 on my local machine running Windows 7 Professional. This was one of the things I was most looking forward to about 2010, being able to develop locally is not only great for the developers out there, but also for us SharePoint Branding folks, i.e. web designers. It makes life SOOOOOO much easier when you don’t have to wrangle virtual machines in order to build out some master pages! So, needless to say, I was really looking forward to making this setup happen for myself.
So, there is an article you can follow on MSDN, which guides you through MOST of what you’ll need to do w/ the current beta that’s out there. However, when it comes to getting the configuration wizard to complete successfully, you’ll need to follow some extra steps, unsupported ones at that. Until the Hot fix comes out this is the only way you’ll get your installation up and running.
First, you’ll need to download the beta from TechNet or MSDN. Save it in a folder SharePoint2010 (or whatever you want to call it) off the C drive. When your download is complete run the command line to extract the installation files. This step is described in the MSDN article: Setting Up the Development Environment for SharePoint Server
So, once you’ve extracted everything you should see a list of folders like the following:
Inside the Files –> Setup folder you’ll find the config.xml file. Make a backup before you make the modifications outlined in the MSDN article and then add the setting id to allow windows client install inside the <configuration> tag. You can copy and past from the MSDN article, the following line:
<Setting Id="AllowWindowsClientInstall" Value="True"/>
Save your config.xml file and then you’re ready to install all the pre-requisites.
If you’re running Windows 7 you’ll want to install the additional prerequisites listed, like the Geneva Framework, ADO.NET Data Services v 1.5, and SQL Server Analysis Services. Just follow the list of items in Step 7 in the MSDN article to do so and you’ll be golden.
Once those installs are complete you can copy and paste the script they provide into the command prompt, but just remember to remove any line breaks. The first time around, this script ran fine for me, but it didn’t activate the Non-HTTP Activation and that caused my configuration wizard to fail.
So…
Once you get to the point where you’re double checking all of the Windows Features are turned on, make sure that the checkbox for Windows Communication Foundation Non-HTTP Activation is selected. That’s under the Microsoft .NET Framework 3.5.1 section.
Now, you’ll want to do a reboot before you proceed with the installation.
During the Installation if you get the following error, you may have a typo in config.xml file. Double-check that…
.gif)
If everything goes forward you’ll be prompted to enter you product key and the install should start. I configured my dev environment as a Standalone install. If all goes well, you’ll be ready to run the Config Wizard. This is where you will run into problems. Luckily, there are people out there who’ve already figured it out and pre-Hot Fix, you’re going to have to modify an XML file in order to get the Config Wizard to finish Step 8 – Creating Sample Data… There’s already a blog post on this from Mike Hacker: SharePoint 2010 Beta on Windows 7
Make sure you read carefully, he’s instructing you to open the client.config file and remove two lines of code with the allowInsecureTransport attribute. If you’ve already run the config wizard, that will be in the error log where it says “Failed to create sample data”
Go to the SharePoint Root under WebClients\Profile… The full path is here: “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\Profile”
Make a backup of client.config and then open in Notepad. Find those two lines of code, line 56 and 90 and remove both of the attributes for allowInsecureTransport:
Save your config.xml, (you may have to allow full control to your account in order to have write access), and then re-run the Configuration Wizard.
At that point, everything should go off without a hitch and you should be the proud owner of a new SharePoint Server 2010 installation on your Win 7 machine! :)
If you run into any problems or have other tips, please share!!