Error popped up after trying to run SharePoint Configuration.
An exception of type System.Reflection.TargetInvocationException was thrown. Additional exception information: Exception has been thrown by the target of an invocation.
/19/2023 12:01:57 13 INF Entering function RegistryHelper.GetStringValue
01/19/2023 12:01:57 13 INF Entering function RegistryHelper.GetValue
01/19/2023 12:01:57 13 INF Leaving function RegistryHelper.GetValue
01/19/2023 12:01:57 13 INF Leaving function RegistryHelper.GetStringValue
01/19/2023 12:01:57 13 INF Retrieved the service name ProjectCalcService16 from HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\16.0\WSS\Services\Microsoft.Office.Project.Server.Administration.ProjectCalcService\ServiceName
01/19/2023 12:01:57 13 INF Entering function TaskCommon.ReflectionHelperInvokeConstructor
01/19/2023 12:01:57 13 INF Trying to get the type for assembly Microsoft.Office.Project.Server.Administration.ProjectCalcService, Microsoft.Office.Project.Server.Administration, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C
01/19/2023 12:01:57 13 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...
01/19/2023 12:01:57 13 ERR Task services has failed with an unknown exception
01/19/2023 12:01:57 13 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()
01/19/2023 12:01:57 13 INF Entering function Common.BuildExceptionMessage
01/19/2023 12:01:57 13 INF Entering function StringResourceManager.GetResourceString
01/19/2023 12:01:57 13 INF Resource id to be retrieved is ExceptionInfo for language English (United States)
01/19/2023 12:01:57 13 INF Resource retrieved id ExceptionInfo is An exception of type {0} was thrown. Additional exception information: {1}
01/19/2023 12:01:57 13 INF Leaving function StringResourceManager.GetResourceString
01/19/2023 12:01:57 13 INF Leaving function Common.BuildExceptionMessage
01/19/2023 12:01:57 13 INF Entering function Common.BuildExceptionInformation
01/19/2023 12:01:57 13 INF Entering function Common.BuildExceptionMessage
01/19/2023 12:01:57 13 INF Entering function StringResourceManager.GetResourceString
01/19/2023 12:01:57 13 INF Resource id to be retrieved is ExceptionInfo for language English (United States)
01/19/2023 12:01:57 13 INF Resource retrieved id ExceptionInfo is An exception of type {0} was thrown. Additional exception information: {1}
01/19/2023 12:01:57 13 INF Leaving function StringResourceManager.GetResourceString
01/19/2023 12:01:57 13 INF Leaving function Common.BuildExceptionMessage
01/19/2023 12:01:57 13 INF Leaving function Common.BuildExceptionInformation
01/19/2023 12:01:57 13 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()
01/19/2023 12:01:57 13 INF Entering function Common.BuildExceptionInformation
01/19/2023 12:01:57 13 INF Entering function Common.BuildExceptionMessage
01/19/2023 12:01:57 13 INF Entering function StringResourceManager.GetResourceString
01/19/2023 12:01:57 13 INF Resource id to be retrieved is ExceptionInfo for language English (United States)
01/19/2023 12:01:57 13 INF Resource retrieved id ExceptionInfo is An exception of type {0} was thrown. Additional exception information: {1}
01/19/2023 12:01:57 13 INF Leaving function StringResourceManager.GetResourceString
01/19/2023 12:01:57 13 INF Leaving function Common.BuildExceptionMessage
01/19/2023 12:01:57 13 INF Leaving function Common.BuildExceptionInformation
01/19/2023 12:01:57 13 INF Entering function get CommandCollection.this[string key]
01/19/2023 12:01:57 13 INF Entering function CommandCollectionBase.Get
01/19/2023 12:01:57 13 INF Found value in collection for key global
01/19/2023 12:01:57 13 INF Leaving function CommandCollectionBase.Get
01/19/2023 12:01:57 13 INF Found command global in collection
01/19/2023 12:01:57 13 INF Leaving function get CommandCollection.this[string key]
01/19/2023 12:01:57 13 INF Entering function get CommandCollection.this[string key]