Thursday 13 March 2014

Fixing SharePoint 2013 Errors when running SP configuration products wizard


I was installing SP 2013 Preview on Windows 2008 R2 SP1. After i installed SP 2013 i was trying to run SharePoint Products Configuration Wizard to configure my farm before i start using it and i was getting this error message on step 2:


when i checked the logged file, this is the actual error:

Exception: System.Management.Automation.CmdletInvocationException: ErrorCode:SubStatusService running under Network Service account in workgroup environment is not supported. ---> Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode:SubStatusService running under Network Service account in workgroup environment is not supported.
at Microsoft.ApplicationServer.Caching.Configuration.Commands.RegisterAFCacheHostCommand.BeginProcessing()

I was trying to understand why i'm getting this error ? As i see, it is because there is one of the services is using Network service which is not supported. But Which component that i can change without uninstalling and reinstalling SharePoint 2013 ? As highlighted in red, the configuration wizard is trying to setup AppFabric Chaching while creating the configuration wizard! 



I started to change the AppFabric Chaching service service account which was using Network service and rerun the configuration wizard but still same error!

I googled the problem and i found that i can skip this step using the command line. The command runs the psconfig "Configuration wizard" in console mode with option to skip configuring the AppFabric Cache.

1) Open 15 hive folder:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\BIN
2) Open command line as administrator.
3) write down this command and hit enter!

psconfig -cmd Configdb create SkipRegisterAsDistributedCacheHost

4) The configuration database will be created.



5) Re-run the configuration wizard and you will be able to successfully configure your SharePoint 2013 Farm and you should be able to start using SharePoint 2013.


No comments:

Post a Comment