SharePoint 2016 Server-The ‘ListInternal’ attribute is not allowed.

July 29, 2017

Problem:
SharePoint 2016 Server, with multi-tier farm deployment.
While Saving a site as template (In Site settings) or Activating a site template as solution, ( In Solution gallery, Site settings), getting following error
Microsoft.SharePoint.SPException: Feature definition with Id bdb8014f-6948-43bb-b980-ce825274dd0c failed validation, file 'PS19 Project SiteListInstances\ElementsFields.xml', line 1005, character 265: The 'ListInternal' attribute is not allowed.
at Microsoft.SharePoint.Administration.SPSolutionPackage.FeatureXmlValidationCallback.XmlValidationCallBack(Object sender, ValidationEventArgs evtargs)
at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(String code, String arg)
at System.Xml.Schema.XmlSchemaValidator.ValidateAttribute(String lName, String ns, XmlValueGetter attributeValueGetter, String attributeStringValue, XmlSchemaInfo schemaInfo)
at System.Xml.Schema.XmlSchemaValidator.ValidateAttribute(String localName, String namespaceUri, XmlValueGetter attributeValue, XmlSchemaInfo schemaInfo)
at System.Xml.XsdValidatingReader.ValidateAttributes()
at System.Xml.XsdValidatingReader.ProcessElementEvent()
at System.Xml.XsdValidatingReader.Read()
at System.Xml.XmlReader.MoveToContent()
at System.Xml.XmlReader.IsStartElement()
at Microsoft.SharePoint.Utilities.SPUtility.XsdValidateXml(XmlTextReader xmlStreamReader, String friendlyName, String pathXsdFile, String tagExpectedRootNode, Int32 desiredPathVersion, ValidationEventHandler xsdValEventHandler)
at Microsoft.SharePoint.Administration.SPSolutionPackage.SolutionFile.ValidateFeatureXmlFile(String rootTagElement)
at Microsoft.SharePoint.Administration.SPSolutionPackage.AddFeatureElementsCore(XmlNodeList nodeList, String strFeatureDirRelativeToCabFile, Guid featureId, Dictionary`2 filesAdded)
at Microsoft.SharePoint.Administration.SPSolutionPackage.AddFeatureElements(XmlNode root, String strFeatureDirRelativeToCabFile, String strFeatureXmlFilename, Guid featureId)
at Microsoft.SharePoint.Administration.SPSolutionPackage.WspSolutionFeature.ProcessFeatureXml()
at Microsoft.SharePoint.Administration.SPSolutionPackage.InitSolutionFeatures(XmlNode root)
at Microsoft.SharePoint.Administration.SPSolutionPackage.ProcessSolutionManifest()
at Microsoft.SharePoint.Administration.SPSolutionPackage.Load()
at Microsoft.SharePoint.Administration.SPSolutionLanguagePack.CreateSolutionPackage(SPRequest request, String name, String signature, Byte[] fileBytes)
at Microsoft.SharePoint.SPUserSolutionCollection.c__DisplayClass4.b__0()
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
at Microsoft.SharePoint.SPUserSolutionCollection.AddOrUpgrade(SPListItem item, SPUserSolution existingSolution)
at Microsoft.SharePoint.SPUserSolutionCollection.Add(Int32 solutionGalleryItemId)
at Microsoft.SharePoint.SPSolutionExporter.ExportWebToGallery(SPWeb web, String solutionFileName, String title, String description, ExportMode exportMode, Boolean includeContent, String workflowTemplateName, String destinationListUrl, Action`1 solutionPostProcessor, Boolean activateSolution)

Solution:
Opened the ‘wss.xsd’ file in the ‘C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\TEMPLATE\XML’ folder, and added the following line.

<xs:attribute name="ListInternal" type="xs:string" />

After search for line:

<xs:attribute name="List" type="xs:string" />

It need to be done in all Servers in case of multi-tier SharePoint farm.

Advertisements

Record Management in SharePoint

June 24, 2017

Presentation

Topic: Record Management in SharePoint
Scope: basic
Level: Executive

Click here to download presentation


SharePoint Central administration-The object UserProfileADImportJob Name=

June 24, 2017

Problem:
In SharePoint Central administration, while starting timer job to start synchronization from AD to Sharepoint, following error is thorwn.
An update conflict has occurred, and you must re-try this action. The object UserProfileADImportJob Name=SharePoint Production 2016 User Profile Service Application_UserProfileADImportJob was updated by XXXDomain\xxxUser, in the OWSTIMER (1920) process, on machine XXXMachineName. View the tracing log for more information about the conflict.
Solution:
Clearing the SharePoint Configuration Cache as per guide here:
https://www.zubairalexander.com/blog/clearing-the-sharepoint-configuration-cache/


After migration from SharePoint 2010 to SharePoint 2013 , to SharePoint 2016, search does not work.

May 14, 2017

Case:
Windows Server 2016 + SharePoint 2016 +SQL Server 2016
1 App Server + 1 Web front end
Issue:
After migration from SharePoint 2010 to SharePoint 2013 , to SharePoint 2016, search does not work.
Search throws exception as:
System.ServiceModel.FaultException: An error occurred when verifying security for the message. --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout) at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request

Advance search throws object null exception as :
AdvancedSearchBox class encountered unexpected error: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Office.Server.Search.Query.ConsumerScopeCache.GetScopes() at Microsoft.Office.Server.Search.Query.ScopeCache.GetSharedScopes() at Microsoft.Office.Server.Search.WebControls.AdvancedSearchBox.GetScopeEnumerator(ScopeInformation& defaultScope) at Microsoft.Office.Server.Search.WebControls.AdvancedSearchBox.CreateScopeRows(Table parentTable) at Microsoft.Office.Server.Search.WebControls.AdvancedSearchBox.CreateScopingSectionChildControls(Table parentTable) at Microsoft.Office.Server.Search.WebControls.AdvancedSearchBox.CreateChildControls().

Solution:
Tried following checklist as:

    verified that the SharePoint Web Services site existed in IIS, and that SecurityTokenServiceApplication existed as a virtual directory.
    Related application pool that are working
    Created new Search Service application and changed the association.
    Done a full crawl
    Did index reset

Run SharePoint configuration wizard again.
Finally, issue was related to time difference b/w application server and Web front end.
They were in different time zone. Fixed time zones, all above exceptions solved.


SharePoint 2016 + Windows Server 2016 -Microsoft WCF Data Services 5.6 as error

April 8, 2017

Case:
SharePoint 2016 + Windows Server 2016
Problem:
Pre-Requist wizard fails to install Microsoft WCF Data Services 5.6 as error as:

“configuration error”
So solution is to download and install WCF data service manually. As a result Pre-Requist wizard shows that WCF Data Service can be installed successfully. Wizard succeeds.
When Farm configuration wizard is run, Wizard fails with following error.

04/06/2017 11:49:01 9 INF The parameter localserverrole is chosen, so returning the value as SingleServerFarm
04/06/2017 11:52:09 9 ERR Task configdb has failed with an unknown exception
04/06/2017 11:52:09 9 ERR Exception: Microsoft.SharePoint.Upgrade.SPUpgradeException: One or more types failed to load. Please refer to the upgrade log for more details.
at Microsoft.SharePoint.Upgrade.SPActionSequence.LoadUpgradeActions()
at Microsoft.SharePoint.Upgrade.SPActionSequence.get_Actions()
at Microsoft.SharePoint.Upgrade.SPActionSequence.get_ActionsInternal()
at Microsoft.SharePoint.Upgrade.SPUtility.GetLatestTargetSchemaVersionBeforeMajorVersion(Type typeActionSequence, Int32 majorVer)
at Microsoft.SharePoint.Upgrade.SPSiteSequence.get_PreviousTargetSchemaVersion()
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.PopulateSequencesTable(StringBuilder sqlstr, Boolean siteSequence)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ConstructSiteNeedsUpgradeQuery(Guid siteId)
at Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence.GetSiteNeedsUpgrade(SPUpgradeSession session, SPContentDatabase database, Dictionary`2& dictSitesNeedUpgrade, Dictionary`2& dictSitesNeedFeatureUpgrade)
at Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence.AddNextLevelObjects()
at Microsoft.SharePoint.Upgrade.SPHierarchyManager.Grow(SPTree`1 root, Boolean bRecursing, SPDelegateManager delegateManager)
at Microsoft.SharePoint.Upgrade.SPHierarchyManager.Grow(SPTree`1 root, SPDelegateManager delegateManager)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Administration.SPServerProductInfo.DetectLocalUpgradeStatus()
at Microsoft.SharePoint.Administration.SPServerProductInfo.DetectLocalProductVersions(SPProductVersions prodVer)
at Microsoft.SharePoint.Administration.SPServerProductInfo.UpdateProductInfoInDatabase(Guid serverGuid)
at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost, Nullable`1 serverRole)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
04/06/2017 11:52:09 9 INF Entering function Common.BuildExceptionMessage

ULS logs at that time suggest following directions.

04/06/2017 19:34:01.06 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywv Medium 04/06/2017 19:34:01.06 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywv DEBUG Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Failed to call GetTypes() 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.Data.Edm, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Failed to call GetTypes() 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.Data.OData, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Failed to call GetTypes() 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.Data.OData, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Failed to call GetTypes() 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.Data.OData, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Failed to call GetTypes() 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.Data.OData, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Failed to call GetTypes() 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.Data.OData, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.52 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Topology aj4j4 Unexpected Joining Farm failed. The exception type is Microsoft.SharePoint.Upgrade.SPUpgradeException The exception is One or more types failed to load. Please refer to the upgrade log for more details. StackTrace is at Microsoft.SharePoint.Upgrade.SPActionSequence.LoadUpgradeActions() at Microsoft.SharePoint.Upgrade.SPActionSequence.get_Actions() at Microsoft.SharePoint.Upgrade.SPActionSequence.get_ActionsInternal() at Microsoft.SharePoint.Upgrade.SPUtility.GetLatestTargetSchemaVersionBeforeMajorVersion(Type typeActionSequence, Int32 majorVer) at Microsoft.SharePoint.Upgrade.SPSiteSequence.get_PreviousTargetSchemaVersion() at Microsoft.SharePoint.Upgrade.SPUpgradeSession.PopulateSequencesTable(StringBuilder sqlstr, Boolean siteSequence) at Microsoft.SharePoint.Upgrade.SPUp...
04/06/2017 19:34:02.52* psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Topology aj4j4 Unexpected ...gradeSession.ConstructSiteNeedsUpgradeQuery(Guid siteId) at Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence.GetSiteNeedsUpgrade(SPUpgradeSession session, SPContentDatabase database, Dictionary`2& dictSitesNeedUpgrade, Dictionary`2& dictSitesNeedFeatureUpgrade) at Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence.AddNextLevelObjects() at Microsoft.SharePoint.Upgrade.SPHierarchyManager.Grow(SPTree`1 root, Boolean bRecursing, SPDelegateManager delegateManager) at Microsoft.SharePoint.Upgrade.SPHierarchyManager.Grow(SPTree`1 root, SPDelegateManager delegateManager) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse) at ...
04/06/2017 19:34:02.52* psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Topology aj4j4 Unexpected ...Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Administration.SPServerProductInfo.DetectLocalUpgradeStatus() at Microsoft.SharePoint.Admi...
04/06/2017 19:34:02.52* psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Topology aj4j4 Unexpected ...nistration.SPServerProductInfo.DetectLocalProductVersions(SPProductVersions prodVer) at Microsoft.SharePoint.Administration.SPServerProductInfo.UpdateProductInfoInDatabase(Guid serverGuid) at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost, Nullable`1 serverRole)
04/06/2017 19:34:02.52 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Topology 88ah High Unjoining the farm.
04/06/2017 19:34:02.52 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Topology 7f7z Medium Attempting to unprovision the instance of the service.
04/06/2017 19:34:02.52 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Config Cache 8xqz Medium Updating SPPersistedObject SPUsageServiceInstance. Version: 3285 Ensure: False, SkipObjectCallbackCheck: False, HashCode: 16766519, Id: 6acbaa8c-6140-4187-ab98-43e9e1632956, Stack: at Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdateCore(Boolean legacyUpdate) at Microsoft.SharePoint.Administration.SPPersistedObject.Update() at Microsoft.SharePoint.Administration.SPServer.Unprovision() at Microsoft.SharePoint.Administration.SPFarm.Unjoin() at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost, Nullable`1 serverRole) at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb() at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run() at Microsoft.Sh...
04/06/2017 19:34:02.52* psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Config Cache 8xqz Medium ...arePoint.PostSetupConfiguration.TaskThread.ExecuteTask() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()

Solution:: “Microsoft WCF Data Services 5.6” is not installed correctly, even it says so, that everything is ok.
Solution is to repair “Microsoft WCF Data Services 5.6”, then run SharePoint configuration wizard again. It will work like charm.


SharePoint 2016 + Windows Server 2016-Web Server (IIS) Role: configuration error

April 8, 2017

Case:
SharePoint 2016 + Windows Server 2016
Problem:
Pre-Requist wizard fails as error as:
• Web Server (IIS) Role: configuration error

Solution:
Googled it. Got reference from Swiss guy’s blog.

https://www.techtask.com/sharepoint-2016-unable-to-install-application-server-role-web-server-iis-role/

Slight modification for Windows Server 2016,
Remove Application-Server and AS-Web_support features.
Run poweshell as below.
Add-WindowsFeature Web-Server,Windows-Identity-Foundation,NET-Framework-45-ASPNET,Web-Mgmt-Console,Web-Mgmt-Compat,Web-Metabase,Web-Lgcy-Mgmt-Console,Web-Lgcy-Scripting,Web-Mgmt-Tools,Web-WMI, Web-Common-HTTP,NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF-HTTP-Activation45 -Source 'F:\sources\sxs'
Problem solved…!


SharePoint 2016 – Exception: System.InvalidOperationException: An error occurred while getting information about the user xxxxxxxxxx at server Access is denied

March 30, 2017

Environment: SharePoint 2016 + Windows server 2016 + SQL Server 2016
Problem:
SP 16 pre-requisite installed.
SP 16 configuration wizard, fails at 3th step, with following error.

Task configdb has failed with an unknown exception Exception: System.InvalidOperationException: An error occurred while getting information about the user xxxxxxxxxx at server Access is denied at Microsoft.SharePoint.Win32.SPNetApi32.NetUserGetInfo1(String server, String name) at Microsoft.SharePoint.Administration.SPManagedAccount.GetUserAccountControl(String username)

With full call stack as below.

03/29/2017 07:21:03 9 INF Creating connection string for config db ReadersSP2016V2_SharePoint_Config server ReadersWisa
03/29/2017 07:21:03 9 INF Creating connection string for admin content db SharePoint_AdminContent_f7125642-706d-452e-a877-67a4ec7f1fe4 server ReadersWisa
03/29/2017 07:21:03 9 INF Using NTLM for sql connection string
03/29/2017 07:21:03 9 INF Creating a new farm with config db ReadersSP2016V2_SharePoint_Config content db SharePoint_AdminContent_f7125642-706d-452e-a877-67a4ec7f1fe4 server ReadersWisa for farm mode
03/29/2017 07:21:32 9 ERR Task configdb has failed with an unknown exception
03/29/2017 07:21:32 9 ERR Exception: System.InvalidOperationException: An error occurred while getting information about the user readadmin at server xxxxxxxxx.com: Access is denied
at Microsoft.SharePoint.Win32.SPNetApi32.NetUserGetInfo1(String server, String name)
at Microsoft.SharePoint.Administration.SPManagedAccount.GetUserAccountControl(String username)
at Microsoft.SharePoint.Administration.SPManagedAccount.Update()
at Microsoft.SharePoint.Administration.SPProcessIdentity.Update()
at Microsoft.SharePoint.Administration.SPWindowsService.Update()
at Microsoft.SharePoint.Administration.SPFarmFactory.CreateTimerService(SPFarm farm)
at Microsoft.SharePoint.Administration.SPFarmFactory.CreateBasicServices(SPFarm farm)
at Microsoft.SharePoint.Administration.SPFarmFactory.Create()
at Microsoft.SharePoint.Administration.SPFarm.Create(SqlConnectionStringBuilder configurationDatabase, SqlConnectionStringBuilder administrationContentDatabase, SqlConnectionStringBuilder siteMapDatabase, IdentityType identityType, String farmUser, SecureString farmPassword, SecureString masterPassphrase)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
03/29/2017 07:21:32 9 INF Entering function Common.BuildExceptionMessage


Solution:
It is known issue with SharePoint 2016 Server. Solution is to install following patch.
https://www.microsoft.com/en-us/download/details.aspx?id=53287
Problem solved.