Friday, July 20, 2012

Fixing SharePoint 2013 Errors when running SP configuration products wizard

Hi Folks,

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:SubStatus:Service running under Network Service account in workgroup environment is not supported. ---> Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode:SubStatus:Service 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.

Note: If you got a message "Failed to create sample data" this doesn't have any functional problem of start using SP 2013 Preview. This should be fixed with later more stable versions.

Please let me know if you encounter any other issues and you would like to contribute in this post!

Appreciate it!
Happy SharePointing...!

No comments: