Installing SharePoint 2013: Failed to Create Sample Data (NullReferenceException) Issue

I was getting the following error when installing SharePoint 2013 in the stand-alone configuration over a clean Windows Server 2012 virtual machine:

Failed to create sample data.

An exception of type System.NullReferenceException was thrown. Additional exception information: Object reference not set to an instance of an object.

After testing without luck all of the approaches explained in these links:

The one that finally solved it was: Installing all Windows Updates and re-running the Configuration Wizard.


Another Tip: Do not start installing SharePoint 2013, without installing first .NET Framework 3.5 manually from Windows Features first. If you are unable to install it because of this error:

“The source files could not be found”

It is because you need to specify the Windows Server Installation disc – check this post or this one for more information.

Happy SharePoint coding! 🙂

image2 image3

Leave a Reply