Friday, 1 June 2012

SharePoint 2010 instalattion on Windows 7


SharePoint 2010 instalattion on Windows 7
We have seen lots of events throughout the year 2010 for SharePoint 2010, VS.NET 2010, Office 2010, Cloud computing and many more. The time went so fast and I was so busy on several activities this year and had not got any chance to contribute much. Anyway, hopefully people will enjoy this post about few lesson learned on WSS 4.0 installation during happy holidays :)
SharePoint 2010 installation steps are already described at Microsoft site http://msdn.microsoft.com/en-us/library/ee554869.aspx . Just to recap in very short, from hardware respective, it is required to have 64 bit machine and at least 4 GB ram. However I would strongly recommend you to use 8 GB ram at least, and if you are planning to use VM, then must think to use 16 GB of ram.
SP2010 can be installed on Windows server 2008 (for both the edition) and windows 7 (64 bit) except windows 7 home premium edition. However SharePoint foundation i.e. WSS 4.0 can be installed on Windows 7 home premium editions (64 bit must).
Regarding the software prerequisite, following are the items which should be present
  • NET Framework 3.5 SP1 (I recommend to install Microsoft .NET Framework 4 Setup i.e. dotNetFx40_Full_setup)
  • Windows PowerShell 2.0
  • Windows Installer 4.5 Redistributable
  • Microsoft Sync Framework
  • SQL Server Native Client (for Sp2010 server, you can use the SQL Server 2008)
  • Chart Controls (not required for WSS 4.0)
  • SQL Server Analysis Services – ADOMD.Net (not required for WSS 4.0)
  • Windows Identity Foundation (Windows6.1-KB974405-x64.msu)
Let me explain a few errors in this blog which I face during my installation of WSS 4.0 on Windows 7 Home edition. Before leaving this paragraph, I would like you to check the features which need to be enable through Windows Feature on Windows 7 as recommended at Microsoft blog.
The steps are very similar. First thing you need to install all the prerequisite software and enable the Windows feature as recommended. Once your operating system is ready to install WSS 4.0, download the SharePoint Foundation from Microsoft site  http://www.microsoft.com/downloads/en/details.aspx?FamilyID=49c79a8a-4612-4e7d-a0b4-3bb429b46595&displaylang=en).
1. Follow the Step2 at Microsoft site and create a directory SharepointFiles in C:\ drive. To extract the files, the command that has been published on Microsoft site i.e. c:\SharePointFiles\SharePoint /extract:c:\SharePointFiles  is wrong and it will be c:\SharePointFiles\SharePointFoundation/extract:c:\SharePointFile (typo mistake :) )
The next steps are pretty simple. Just change your config.xml, located in the following path: c:\SharePointFiles\files\Setup\config.xml and add the line only <Setting Id=”AllowWindowsClientInstall” Value=”True”/>. Don’t just copy the entire config file which is published at Microsoft site on your local before installing WSS 4.0. once it is done, run the setup.exe.
During installation through the wizard, the following error may occur:
System.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35′ or one of its dependencies. The system cannot find the file specified.
File name: ‘Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35′
Could not load file or assembly 'Microsoft.IdentityModel'
Make sure you installed the .NET 4.0/.NET 3.5 with SP1 and Windows Installer 4.5 Redistributable.
Another error could be as follows:
The job definition “Microsoft.SharePoint.Administration.SPTimerRecycleJobDefinition” (id “01780abf-ece1-4216-a44e-b66d212a6035″) requires the Administration Windows Service (“SPAdmin”), but this service is not currently running.
Make sure you setup Windows Feature on Windows 7 correctly as recommended by Microsoft. Also check what credential you are using to install this product. You need to have Administrative privilege for doing so.
Once it is done, the following successfully message will appear.
SP2010-Instalation-Sucessfull

One more tip still left :) . After installation if you found the blank page after loading the page for the default portal or for Central Administration site (if you view the page HTML, only three to four line will be there without any error message), it signifies a few things need to be change at IIS level.
Open the IIS and go to the web application where SharePoint default portal installed and in the authentication section make sure Asp.NET Impersonation and Basic Authentication is in enable state. Reset your IIS and try again. Hopefully it will not frustrate you more and SP2010 page will appear.

IIS setup

No comments:

Post a Comment

Note: only a member of this blog may post a comment.