Share via


Server 2010: Windows 8 using Server Farm installation type without a Domain Controller

First  you need to follow the steps on the following guide - Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows 7, and Windows Server 2008 (http://msdn.microsoft.com/en-us/library/ee554869.aspx).

After installation of all Prerequisites, at this point you will choose the Installation Type

http://guilhrme.files.wordpress.com/2012/03/032512_1639_installings11.jpg

For those who choose Server Farm, will be asked in the next step to create a new Server Farm or connect to an existing one (Figure 2).

http://guilhrme.files.wordpress.com/2012/03/032512_1639_installings21.png

If you choose to create a new Server Farm, you will need to specify the database access account in the "DOMAIN\user name" format (Figure 3). This account will be used to create a SharePoint Configuration Database.

http://guilhrme.files.wordpress.com/2012/03/032512_1639_installings31.png

One technique commonly knew by those who want to install SharePoint 2010 on Windows 7 (without a domain controller) using Server Farm installation type, is using the PowerShell command New-SPConfigurationDatabase to create the SharePoint Configuration Database. This method will allow you to create the Configuration Database specifying a local user account, rather than SharePoint Configuration Wizard (UI), that will only accept a domain account.

But how no everything is flowers, Windows 8 PowerShell runs on PowerShell 3.0 Engine, which uses .Net Framework 4.0 runtime and isn't supported by SharePoint 2010. If you try to run New-SPConfigurationDatabase you will get an "Microsoft SharePoint is not supported with version 4.x.x.x of the Microsoft .Net Runtime" error (Figure 4).

http://guilhrme.files.wordpress.com/2012/03/032512_1639_installings41.png

To resolve this problem is quite simple. Basically you need to start PowerShell with elevated privileges, and change the PowerShell Engine by running the following command:

  • PowerShell.exe –Version 2 (Changes the PowerShell Engine to 2.0)

And this:

  • Add-PSSnapin Microsoft.SharePoint.PowerShell (Loads SharePoint cmdlets for PowerShell)

Now, you will be able to run "New-SPConfigurationDatabase" command without any trouble.

After you create the SharePoint Configuration Database, the next step is to run SharePoint Configuration Wizard again and choose connect to an existing server farm.

Now, the configuration process will start and you probability will receive an "There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined" error (Figure 5).

http://guilhrme.files.wordpress.com/2012/03/032512_1639_installings51.png

This happens because the application pools previously created by the Configuration Wizard process are marked to run with version 4.0 of the .Net Framework runtime.

It's time to go to the Internet Information Services Manager and change the version of the .Net Framework runtime on the application pools used for SharePoint to .Net Framework runtime 2.0 (Figure 6).

http://guilhrme.files.wordpress.com/2012/03/032512_1639_installings61.png

Finally, run the SharePoint Configuration Wizard again and see the overall process finishing successfully. (Figure 7, 8 and 9)

http://guilhrme.files.wordpress.com/2012/03/032512_1639_installings71.png

http://guilhrme.files.wordpress.com/2012/03/032512_1639_installings81.png

http://guilhrme.files.wordpress.com/2012/03/032512_1639_installings91.png

Well, I tried to guide you by one way that I previously passed through, showing you the problems that I passed by and the solutions applied to hit the target. Thanks for your attention.