Found registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\16.0\WSS\Services\Microsoft.Office.InfoPath.Server.Administration.FormsService, but the SubKeyCount is zero

Tevon2.0 1,101 Reputation points
2023-05-18T16:06:04.6366667+00:00

Came across these errors in my configuration.

05/18/2023 11:37:19  10  INF                          Creating service connection point for this farm ...
05/18/2023 11:37:19  10  WRN                          Failed to add the service connection point for this farm
05/18/2023 11:37:19  10  INF                          Entering function StringResourceManager.GetResourceString
05/18/2023 11:37:19  10  INF                            Resource id to be retrieved is ServiceConnectionPointNotCreatedEventLog for language English (United States)
05/18/2023 11:37:19  10  INF                            Resource retrieved id ServiceConnectionPointNotCreatedEventLog is Unable to create a Service Connection Point in the current Active Directory domain. Verify that the SharePoint container exists in the current domain and that you have rights to write to it.
05/18/2023 11:37:19  10  INF                          Leaving function StringResourceManager.GetResourceString
05/18/2023 11:37:19  10  WRN                          Unable to create a Service Connection Point in the current Active Directory domain. Verify that the SharePoint container exists in the current domain and that you have rights to write to it.
Microsoft.SharePoint.SPException: The object LDAP://CN=Microsoft SharePoint Products,CN=System,DC=col,DC=lingualistek,DC=com doesn't exist in the directory.
   at Microsoft.SharePoint.Administration.SPServiceConnectionPoint.Ensure(String serviceBindingInformation)
   at Microsoft.SharePoint.PostSetupConfiguration.UpgradeTask.Run()
05/18/2023 11:36:59  12  INF                        Type for assembly Microsoft.Office.Project.Server.Administration.ProjectCalcService, Microsoft.Office.Project.Server.Administration, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C is Microsoft.Office.Project.Server.Administration.ProjectCalcService.  Now, calling the constructor...
05/18/2023 11:36:59  12  ERR                        Task services has failed with an unknown exception 
05/18/2023 11:36:59  12  ERR                        Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
   at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess)
   at System.Security.Principal.SecurityIdentifier.Translate(Type targetType)
   at Microsoft.SharePoint.Utilities.SPUserUtility.SidToAccountName(SecurityIdentifier sid)
   at Microsoft.SharePoint.Utilities.SPUserUtility.IsLocalAccount(SecurityIdentifier sid)
   at Microsoft.SharePoint.Utilities.SPUserUtility.WarnIfLocalAccountOnFarm(SecurityIdentifier sid, String accountUser)
   at Microsoft.SharePoint.Administration.SPProcessIdentity.set_ManagedAccount(SPManagedAccount value)
   at Microsoft.Office.Project.Server.Administration.ProjectServiceBase..ctor(String name, SPFarm farm)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.SharePoint.PostSetupConfiguration.ReflectionHelper.InvokeConstructor(String assemblyQualifiedName, Type[] constructorSignature, Object[] constructorParameters)
   at Microsoft.SharePoint.PostSetupConfiguration.TaskCommon.ReflectionHelperInvokeConstructor(String assemblyQualifiedName, Type[] constructorSignature, Object[] constructorParameters, TaskBase task)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InvokeServiceConstructor(String serviceRegistryKeyName, String solutionIdRegistryName, String serviceNameRegistryName, Type[] constructorSignature, Object[] constructorParameters)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInConfigDB(Boolean provisionTheServiceToo, String serviceRegistryKeyName)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run()
   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
05/18/2023 11:36:59  12  INF                        Entering function Common.BuildExceptionMessage
05/18/2023 11:36:59  12  INF                          Entering function StringResourceManager.GetResourceString
05/18/2023 11:36:59  12  INF                            Resource id to be retrieved is ExceptionInfo for language English (United States)
05/18/2023 11:36:59  12  INF                            Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}
05/18/2023 11:36:59  12  INF                          Leaving function StringResourceManager.GetResourceString
05/18/2023 11:36:59  12  INF                        Leaving function Common.BuildExceptionMessage
05/18/2023 11:36:59  12  INF                        Entering function Common.BuildExceptionInformation
05/18/2023 11:36:59  12  INF                          Entering function Common.BuildExceptionMessage
05/18/2023 11:36:59  12  INF                            Entering function StringResourceManager.GetResourceString
05/18/2023 11:36:59  12  INF                              Resource id to be retrieved is ExceptionInfo for language English (United States)
05/18/2023 11:36:59  12  INF                              Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}
05/18/2023 11:36:59  12  INF                            Leaving function StringResourceManager.GetResourceString
05/18/2023 11:36:59  12  INF                          Leaving function Common.BuildExceptionMessage
05/18/2023 11:36:59  12  INF                        Leaving function Common.BuildExceptionInformation
05/18/2023 11:36:59  12  ERR                        An exception of type System.Reflection.TargetInvocationException was thrown.  Additional exception information: Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
   at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess)
   at System.Security.Principal.SecurityIdentifier.Translate(Type targetType)
   at Microsoft.SharePoint.Utilities.SPUserUtility.SidToAccountName(SecurityIdentifier sid)
   at Microsoft.SharePoint.Utilities.SPUserUtility.IsLocalAccount(SecurityIdentifier sid)
   at Microsoft.SharePoint.Utilities.SPUserUtility.WarnIfLocalAccountOnFarm(SecurityIdentifier sid, String accountUser)
   at Microsoft.SharePoint.Administration.SPProcessIdentity.set_ManagedAccount(SPManagedAccount value)
   at Microsoft.Office.Project.Server.Administration.ProjectServiceBase..ctor(String name, SPFarm farm)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.SharePoint.PostSetupConfiguration.ReflectionHelper.InvokeConstructor(String assemblyQualifiedName, Type[] constructorSignature, Object[] constructorParameters)
   at Microsoft.SharePoint.PostSetupConfiguration.TaskCommon.ReflectionHelperInvokeConstructor(String assemblyQualifiedName, Type[] constructorSignature, Object[] constructorParameters, TaskBase task)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InvokeServiceConstructor(String serviceRegistryKeyName, String solutionIdRegistryName, String serviceNameRegistryName, Type[] constructorSignature, Object[] constructorParameters)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInConfigDB(Boolean provisionTheServiceToo, String serviceRegistryKeyName)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run()
   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
05/18/2023 11:36:59  12  INF                        Entering function Common.BuildExceptionInformation
SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,236 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,701 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,686 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,576 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Haoyan Xue_MSFT 20,261 Reputation points Microsoft Vendor
    2023-05-19T02:33:36.1766667+00:00

    Hi @Tevon2.0 ,

    Firstly, let's verify the followings:

    1. Did you run SharePoint Configuration Wizard after installing a CU?
    2. Did you change username/password for your service accounts recently?

    If you installed CUs recently, please make sure you have installed both SharePoint Server patch and SharePoint Server 2016 MUI/language patch, and all servers have same CUs installed if you have multiple SharePoint servers.

    About SharePoint updates, you can refer to the article:

    https://learn.microsoft.com/en-us/officeupdates/sharepoint-updates

    If you changed password for your service accounts, please update the identify of related application pools and restart them in IIS Manager. Then re-run SharePoint Configuration Wizard again, compare the result.

    A blog about this similar issue for your reference

    https://nationalcom.com/wordpress/2009/05/05/an-exception-of-type-systemsecurityprincipalidentitynotmappedexception-was-thrown-sharepoint/

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.