Saturday, January 26, 2013

Get Site Content Size in SharePoint 2013

To Get Site Content Size in SharePoint using Powers hell run the following command :

Get-SPSite http://sps2013 | Select Url, @{Label="Size";Expression={$_.usage.Storage/1MB}}

To Get all Site Collections in the Farm and sorts them from largest to smallest based on content size run the following command:

Get-SPSite | Select Url, @{Label="Size";Expression={$_.usage.Storage/1MB}} 
| Sort-Object -Descending -Property "Size"

Sunday, January 20, 2013

New WCM Features in SharePoint 2013


Friday, January 18, 2013

The .Net Framework installed on this machine does not meet the minimum required version: 4.5.50709

I have got the following error while installing Visual Studio 2012 on Windows Server 2012 Release Candidate so to fix this I have installed on the last released Windows Server 2012.



Note: you will receive the same error if you try to install it on Windows 8 Preview.

This SQLServer instance does not have the required "max degree of parallelism" setting of 1

I have got this error while trying to install SharePoint 2013


What is Max Degree of Parallelism ?
When an instance of SQL Server runs on a computer that has more than one microprocessor or CPU, it detects the best degree of parallelism, that is, the number of processors employed to run a single statement, for each parallel plan execution. You can use the max degree of parallelism option to limit the number of processors to use in parallel plan execution. SQL Server considers parallel execution plans for queries, index data definition language (DDL) operations, and static and keyset-driven cursor population.
Read this for more details
http://technet.microsoft.com/en-us/library/ms189094.aspx

How to fix it ?

  1. Open Microsoft SQL Server Management Studio
  2. Login with sysadmin user 
  3. Right Click on instance name and select properties >> Advanced
  4. Change Max Degree of Parallelism to 1
  5. Restart the SQL Service

Wednesday, January 16, 2013

SharePoint 2013 Prerequisites - Offiline install

You can install SharePoint 2013 Prerequisites by two ways :

  1. Run SharePoint 2013 setup file and then choose Install software prerequisites if the server connected or has Internet Access.
  2. In case no Internet access then you need to install them manually , Check this article which explain how to install them manually or by power shell and command line. Link

SharePoint 2013 - Standalone Farm Limitations

Standalone farm is targeted to development and testing environment so avoid to used it in production site for the following reasons:

  1. Can't Scale : you cannot extend your farm by adding new server if it configured as standalone farm even you can't backup the farm and restore it from standalone farm to multiple servers farm (Small , Medium,.. Farm) and vice and versa.
  2. Limit Storage: because it configured with SQL Server 2008 R2 SP 1 Express version your storage limit to 10 GB only for each database.
  3. No Domain Service: because it configured in one server only so no Domain Service or domain accounts and it run under local accounts like Network Service account. also you can not create User Profile Service for this reason.

Sunday, January 13, 2013

NetFx3.5 Error - Installing SQL Server 2012 on Windows Server 2012

Check this article link

Steps:

  1. Insert the Windows Server 2012 installation image or DVD
  2. Open a command window (run as Administrator),
  3. Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\SxS /LimitAccess
Note: D: is the label for DVD driver.


Update for Microsoft SharePoint Enterprise Server 2013

Microsoft released updates for SharePoint Server 2013 as the following :

Steps to apply them:
  1. Download and install them in each SharePoint Server.
  2. Then Run configuration wizard on each server starting from the server which host the Central Administration.
  3. Done.