
With the release of SharePoint 2010 developers can now install SharePoint on a client operating system. This article will focus on Windows 7, however please be advised that you can configure your developer rig by installing SharePoint 2010 (both SharePoint Server and SharePoint Foundation) on Windows Vista SP1 or SP2 x64 Professional or higher, Windows Server 2008 SP 2 x64 or Windows Server 2008 R2 x64.
There is a detailed procedure on MSDN titled Setting up the Development Environment for SharePoint Server that covers all types of developer workstation installations, however for I felt that I’d post a concise Windows 7 targeted version as I am sure I will personally go through this a few times and that others would benefit from this information.
This article specifically discusses installing the BETA version of SharePoint 2010.
This post targets an installation in ‘Standalone’ mode. I felt that I would post a ‘Standalone’ install for those who do not have access to MSDN or don’t have access to a full version of SQL Server. You can still follow along if you wish to install wish to install with a full SQL version (for the devs out there, SQL 2008 Developer Edition for example), you’ll just have to change your installation option to ‘Server Farm’ mode. There are sure to be many posts out there covering a ‘Server Farm’ mode install where you select your SQL server and please be advised that I don’t cover this install type specifically.
Before I get started, I’d like to mention that my preferred setup is on Windows Server even though I can install on Windows 7. Why? Because that is how I install it within client environments and if I am going to develop and test, I should test and develop in the same type of environment. I believe it is still a good thing that SharePoint 2010 can be installed on client operating systems as not everyone has a test server environment within which to play and learn.
Let’s get started with the install.
OS and Hardware Guidance:
Known Windows 7 Limitations and Issues:
1) Obtain and configure the SharePoint 2010 Beta for installation:
c:\SharePointFiles\SharePoint /extract:c:\SharePointFiles
c:\SharePointFiles\OfficeServer /extract:c:\SharePointFiles
c:\SharePointFiles\files\Setup\config.xml
<Setting Id="AllowWindowsClientInstall" Value="True"/>
2) Install Hotfixes & Pre-requisites:
You will need to perform the following installations prior to installing SharePoint 2010 on your Windows 7 machine: (Note: In case you heard about it or were thinking about it for your developer rig, the installer ships with a tool called PrerequisiteInstaller.exe to automatically assist with installing and configuring pre-requisites for SharePoint 2010. THIS DOES NOT WORK WITH WINDOWS 7 OR WINDOWS VISTA. It is for use only with Windows Server 2008 SP2 x64 or Windows Server 2008 R2 x64.).
Important! The install links and information below are specifically for Windows 7. Please refer to other resources for other operating systems.
c:\SharePointFiles\PrerequisiteInstallerFiles\FilterPack\FilterPack.msi
3) Configure Windows 7 Features
From a command prompt, execute the following:
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-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
4) RESTART YOUR COMPUTER
This is necessary to complete the changes made to Windows Features.
5) Install SharePoint 2010
c:\SharePointFiles\Setup.exe
Notes if you encounter installation errors:
cd %temp% dir /od *.log
Issues and troubleshooting journey I encountered with my install:
When I first attempted to perform the install, I received the following error that set me off on quite a journey:
Microsoft SharePoint server 2010 encountered an error during setup. One or more required office components failed to complete successfully.
Obviously, this is very generic in nature. So I investigated my setup log file. I found a further error description in a line near the end of the log file:
”Error: Command: ‘C:\Program Files\Common Files\Microsoft Shared\SERVER14\Server Setup Controller\dbwrap.exe’ failed with error code: -2067919934. Type: 8::CommandFailed.”
That was a mouthful, but it focuses on dbwrap.exe which is part of the SQL Express installation. I also noticed there was a DbWrapLog file in my %temp% directory as well. I opened it for inspection. The last three lines were:
ERR:0:SQL Express installation failed with error -2067919934
WRN:0:The file C:\Program Files\Microsoft Sql Server\100\Setup BootStrap\LOG\summary.txt doesn’t exist
ERR:0:Fail to install or config SQL Express.
This was the hard evidence I was looking for. The “One or more required office components” that failed during setup was the installation of the SQL Express database. So now I know ‘what’ happened, I just needed to find out ‘why’. This immediately led me to check the SQL Server logs located at C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\. If this happens to you, you’ll see folders within this directory that resemble dates and times. Open the most recent one and you’ll see a files titled “Detail_GlobalRules.txt” and “Summary_YOURCOMPUTERNAME_….txt”. I opened the “Detail_GlobalRules.txt” file and scrolled to the bottom and found the exception
“Exception type: Microsoft.SqlServer.Configuration.RulesEngineExtension.RulesEngineRuleFailureException” with Message “A computer restart is required. You must restart this computer before installing SQL Server.”
Ok I thought. So I rebooted (even though I rebooted after installing the pre-requisites and hotfixes) and tried the install again. The SharePoint 2010 install failed again! Inspected all the same logs and found the same errors. After scratching my head for a few minutes, searched for an answer…
In the end, from the errors that were reported, I found out that (after researching the issue) it was a problem in the lovely Windows Registry…
The SQL server install must check the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations value and throw the restart required error when there is a value in this key so it doesn’t interrupt something else happening within the computer.
Please note that before you modify anything in your registry BACK IT UP! It turns out that my antivirus was having a field day with my Logitech webcam and continuously has entries in this registry key. The solution to get SharePoint successfully installed, remove the value in this key and run the SharePoint Server 2010 install WITHOUT restarting. Worked like a charm!
I hope the issue I ran into helps someone else as I am sure there will be folks who install SharePoint 2010 on desktops or laptops that have connected devices that may cause installation issues.
Cheers,
c.
Its hard to find good help…
I am forever saying that its difficult to procure good help, but here is…
[...] that is the end of this article. Here you’ll find some sites that we think you’ll appreciate, just click the links over[...]……
[...] Every once in a while we choose blogs that we read. Listed below are the latest sites that we choose [...]……
Gems form the internet…
[...]very few websites that happen to be detailed below, from our point of view are undoubtedly well worth checking out[...]……
Read was interesting, stay in touch……
[...]please visit the sites we follow, including this one, as it represents our picks from the web[...]……
Websites we think you should visit…
[...]although websites we backlink to below are considerably not related to ours, we feel they are actually worth a go through, so have a look[...]……
Awesome website…
[...]the time to read or visit the content or sites we have linked to below the[...]……
Gems form the internet…
[...]very few websites that happen to be detailed below, from our point of view are undoubtedly well worth checking out[...]……
Read was interesting, stay in touch……
[...]please visit the sites we follow, including this one, as it represents our picks from the web[...]……
2011…
Hey There. I found your blog using msn. This is a really well written article. I will be sure to bookmark it and return to read more of your useful info. Thanks for the post. I will definitely comeback….
Sources…
[...]check below, are some totally unrelated websites to ours, however, they are most trustworthy sources that we use[...]……
Websites we think you should visit…
[...]although websites we backlink to below are considerably not related to ours, we feel they are actually worth a go through, so have a look[...]……
Links…
[...]Sites of interest we have a link to[...]……
Looking around…
I like to look in various places on the internet, regularly I will go to Stumble Upon and follow thru…
[...]the time to read or visit the content or sites we have linked to below the[...]……
[...]here are some links to sites that we link to because we think they are worth visiting[...]……
Superb website…
[...]always a big fan of linking to bloggers that I love but don’t get a lot of link love from[...]……
Superb website…
[...]always a big fan of linking to bloggers that I love but don’t get a lot of link love from[...]……
Recent Blogroll Additions……
[...]usually posts some very interesting stuff like this. If you’re new to this site[...]……
Websites you should visit…
[...]below you’ll find the link to some sites that we think you should visit[...]……
You should check this out…
[...] Wonderful story, reckoned we could combine a few unrelated data, nevertheless really worth taking a look, whoa did one learn about Mid East has got more problerms as well [...]……
Visitor recommendations…
[...]one of our visitors recently recommended the following website[...]……
Superb website…
[...]always a big fan of linking to bloggers that I love but don’t get a lot of link love from[...]……
Sites we Like……
[...] Every once in a while we choose blogs that we read. Listed below are the latest sites that we choose [...]……
Read was interesting, stay in touch……
[...]please visit the sites we follow, including this one, as it represents our picks from the web[...]……
Sources…
[...]check below, are some totally unrelated websites to ours, however, they are most trustworthy sources that we use[...]……
Superb website…
[...]always a big fan of linking to bloggers that I love but don’t get a lot of link love from[...]……
Recommeneded websites…
[...]Here are some of the sites we recommend for our visitors[...]……
Websites you should visit…
[...]below you’ll find the link to some sites that we think you should visit[...]……
Check this out…
[...] that is the end of this article. Here you’ll find some sites that we think you’ll appreciate, just click the links over[...]……
Recommeneded websites…
[...]Here are some of the sites we recommend for our visitors[...]……
Read was interesting, stay in touch……
[...]please visit the sites we follow, including this one, as it represents our picks from the web[...]……
Visitor recommendations…
[...]one of our visitors recently recommended the following website[...]……
Gems form the internet…
[...]very few websites that happen to be detailed below, from our point of view are undoubtedly well worth checking out[...]……
Sources…
[...]check below, are some totally unrelated websites to ours, however, they are most trustworthy sources that we use[...]……
Wow!…
A very fascinating post….
Barátok Keresése…
[...]here are some links to sites that we link to because we think they are worth visiting[...]…
Websites worth visiting…
[...]here are some links to sites that we link to because we think they are worth visiting[...]……
Sites we Like……
[...] Every once in a while we choose blogs that we read. Listed below are the latest sites that we choose [...]……
Websites we think you should visit…
[...]although websites we backlink to below are considerably not related to ours, we feel they are actually worth a go through, so have a look[...]……
Related……
[...]just beneath, are numerous totally not related sites to ours, however, they are surely worth going over[...]……
Sites we Like……
[...] Every once in a while we choose blogs that we read. Listed below are the latest sites that we choose [...]……
Great website…
[...]we like to honor many other internet sites on the web, even if they aren’t linked to us, by linking to them. Under are some webpages worth checking out[...]……
Pokrycia Dachowe…
… sometimes I can’t resist and link to ……
Links…
[...]Sites of interest we have a link to[...]……
Recommeneded websites…
[...]Here are some of the sites we recommend for our visitors[...]……
Recommeneded websites…
[...]Here are some of the sites we recommend for our visitors[...]……
Great website…
[...]we like to honor many other internet sites on the web, even if they aren’t linked to us, by linking to them. Under are some webpages worth checking out[...]……
[...]Sites of interest we have a link to[...]……
[...]usually posts some very interesting stuff like this. If you’re new to this site[...]……
Superb website…
[...]always a big fan of linking to bloggers that I love but don’t get a lot of link love from[...]……
Sources…
[...]check below, are some totally unrelated websites to ours, however, they are most trustworthy sources that we use[...]……
Sites we Like……
[...] Every once in a while we choose blogs that we read. Listed below are the latest sites that we choose [...]……