0% found this document useful (0 votes)
134 views9 pages

Installing SharePoint 2010 and SQL Server 2012 On Windows Server 2012 Release Preview

This document provides instructions for installing SharePoint 2010 with SQL Server 2012 on Windows Server 2012 Release Preview. It describes downloading necessary prerequisites like slipstreamed SharePoint 2010 SP1 and enabling roles and features in Server Manager. For SQL 2012, no additional steps are needed. The document then details configuring IIS application pools to v2.0, running PowerShell commands to set defaults, and modifying the SharePoint Management Shell to use PowerShell v2.0 for compatibility.

Uploaded by

kriiiii
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
134 views9 pages

Installing SharePoint 2010 and SQL Server 2012 On Windows Server 2012 Release Preview

This document provides instructions for installing SharePoint 2010 with SQL Server 2012 on Windows Server 2012 Release Preview. It describes downloading necessary prerequisites like slipstreamed SharePoint 2010 SP1 and enabling roles and features in Server Manager. For SQL 2012, no additional steps are needed. The document then details configuring IIS application pools to v2.0, running PowerShell commands to set defaults, and modifying the SharePoint Management Shell to use PowerShell v2.0 for compatibility.

Uploaded by

kriiiii
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Installing SharePoint 2010 and SQL Server 2012 on

Windows Server 2012 Release Preview


June 10, 2012
by Trevor Seward
20 Comments

As an update to my previous blog post, this installation guide will cover installing
SharePoint 2010 with Service Pack 1 and SQL Server 2012 on Windows Server 2012 Release
Preview.

As with Windows Server 8 Beta, you will need the following in order to install SharePoint:

ServerManagerCmd.exe

Slipstreamed install of SP1 for SharePoint 2010


(http://blogs.msdn.com/b/ronalg/archive/2011/07/11/slipstream-sharepoint-2010-sp1-and-language-packs-
w-sp1-into-rtm.aspx and http://toddklindt.com/blog/Lists/Posts/Post.aspx?List=56f96349-3bb6-4087-
94f4-7f95ff4ca81f&ID;=295&Web;=48e6fdd1-17db-4543-b2f9-6fc7185484fc)

Microsoft Chart Controls for Microsoft .NET Framework 3.5

Microsoft Filter Pack 2.0 (also available in PrerequisiteInstallerFilesFilterPack)

Microsoft SQL Server 2008 Native Client

Microsoft SQL Server 2008 R2 ADOMD.NET

Microsoft Sync Framework 1.0

From Server Manager, go to Manage –> Add Roles and Features.

Add the Application Server and Web Server (IIS) roles:


Next, add the Windows Identity Foundation 3.5 feature:
Install the following Web Server (IIS) role features:
Install the following Application Server role features:

First, installing SQL 2012:

Fortunately, with SQL 2012, there is nothing more that needs to be done for the SQL
Database Engine, Integration Services, and SQL Management Studio.  During installation, it
will enable .NET 3.5.1 which is also required for SharePoint 2010.

Next, slipstream SP1 into SharePoint 2010 if you haven’t done so already.  Copy
ServerManagerCmd.exe from the above download into C:\Windows\System32.

Proceed with the SharePoint 2010 installation using setup.exe from the extracted
SharePoint installation.

Run the following command from an elevated PowerShell command prompt:

Set-WebConfigurationProperty “
1 Set-WebConfigurationProperty
“/system.applicationHost/applicationPools/applicationPoolDefaults” –Name
managedRuntimeVersion –Value “v2.0” –PSPath IIS:\
When SharePoint creates application pools, they will be set to v2.0 which is currently
required for SharePoint 2010.

After the installation is complete, run the SharePoint Configuration Wizard.  If you get the
below error, you did not correctly run the above command to set the default Application
Pool creation to v2.0.  Instead, you will need to go to IIS and set the SharePoint-related
Application Pools from v4.0 to v2.0, then go and run the above PowerShell command,
otherwise you’ll continue to face these types of errors.

SharePoint 2010 PowerShell Management Shell:

In Windows Server 2012, PowerShell is version 3 by default, using the .NET 4 Framework. 
This will not work for the SharePoint .NET assemblies.

In the Start screen, right click the SharePoint 2010 Management Shell link, then click Open
File Location at the bottom of the screen:
Go to Properties on the Management Shell and on the Shortcut tab add “-version 2.0” after
PowerShell.exe, for example, the Target should look like:

C:\Window s\System32\Window

1 C:\Windows\System32\WindowsPowerShell\v1.0\PowerShell.exe  -version 2.0
-NoExit  " & ' C:\Program Files\Common Files\Microsoft Shared\Web Server
Extensions\14\CONFIG\POWERSHELL\Registration\\sharepoint.ps1 ' "
The Management Shell will now function as expected.

And yes, the User Profile Synchronization Service still functions as expected!

You might also like