Installing SharePoint Server 2010 on Windows 8

If you want to install SharePoint Server 2010 on Windows 8, you need to read what I did to achieve it.

If you want to install SharePoint Server 2010 in Windows 8, you need to read what I did to achieve it.

1. Follow the exact steps in this article->  http://msdn.microsoft.com/en-us/library/ee554869.aspx except:

You are using Windows 8 and can't install Windows identity Foundation, SQL Server Native Client and 2 other hotfixes that are for Windows 7.
Why?

Identity Foundation is a Windows 8 feature and can be installed from a Windows 8 disk.

SQL Server Native Client won't be needed because you'll be installing SQL Server before these steps. 

2. Other Hotfixes are for Windows 7 and Windows Server 2008 R2. They can't be installed even if you wanted to.

After that a restart might be needed. 

2. Install SharePoint Server 2010.

3. The installation must be successful. Then first you need to edit some values in web.config inside wss.

Get to here: C:\inetpub\wwwroot\wss\VirtualDirectories\80\web.config (wherever SharePoint is installed, the port in my PC is 80)

And find these values and remove them:
 <section name="scriptResourceHandler" 
 type="System.Web.Configuration.ScriptingScriptResourceHandlerSection,
 System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
 PublicKeyToken=31bf3856ad364e35" requirePermission="false"
 allowDefinition="MachineToApplication" />

And this:
 
<add name="TermStoreGenericObjectConverter" 
<jsonSerialization maxJsonLength="5000000">    <converters>
type="Microsoft.SharePoint.Taxonomy.WebServices.TermStoreGenericObjectConverter,
Microsoft.SharePoint.Taxonomy, Version=14.0.0.0,
Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
    </converters>
</
jsonSerialization>

After that, get to the Internet Information Services application, and change the Application Pool of SharePoint - 80 (it's 80 in my machine):

Change the .NET Framework version to .NET Framework 2.0 and Recycle the Pool.
 

Exit the Internet Information Server application.

4. Run the SharePoint 2010 Products Configuration Wizard which will help you finalize your environment.

5. If you updated your SharePoint Server 2010 to SP1 through Windows Update then

you only need to update the second XML referring to JsonSerialization.

After that you need to reconfigure your SharePoint as we did in 5.

Since ASP.NET Permission isn't supported for Security purposes in SharePoint 2010 they do not advise working with ASP.NET 4.0 in SharePoint Server. That's why we configured it to use .NET Framework 2.0.

That's it!  

Hope it helps!