Error
After installing SharePoint 2013 and while running SharePoint
product configuration wizard, you may encounter a “Failed to register
SharePoint Services” error on Step: 5
Log:
Log might be something similar to :
9/30/2014 19:16:57 8 ERR Failed to register SharePoint
services. An exception of type System.InvalidOperationException was thrown.
Additional exception information: Operation is not valid due to the current
state of the object. System.InvalidOperationException: Operation is not valid
due to the current state of the object. at
Microsoft.Office.HtmlTrans.HtmlTrServiceDeserializationSecurityHelper.EnsureAcknowledgedRunningOnAppServer(Boolean
registryKeyLookupResult, ULSCat serviceCategory, Boolean hasExceptionMessage)
at
Fix:
You can easily fix this issue by adding a couple of registry
entries.
Steps:
Go to regedit
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office
Server\{version}\LauncherSettings
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office
Server\{version}\LoadBalancerSettings
Add Dword (32 bit) value
Name: AcknowledgedRunningOnAppServer
Value: 1
After adding the DWord entries try to re run the
configuration wizard and everything will be alright J