SharePointDsc: SPConfigWizard fails
Details of the scenario you tried and the problem that is occurring
When installing a CU using SPProductUpdate and executing SPConfigWizard it fails on all SharePoint servers except those with MinRole Search.
When executing PSConfig manually on these servers, it completes successfully.
Any help is aprreciated…
Verbose logs showing the problem
12/17/2020 12:42:31.91 PSCONFIG (0x07A8) 0x0EF4 SharePoint Foundation Upgrade SPIisWebSiteWssSequence ajywk ERROR Action 16.0.13.0 of Microsoft.SharePoint.Upgrade.SPIisWebSiteWssSequence failed. 00000000-0000-0000-0000-000000000000
12/17/2020 12:42:31.91 PSCONFIG (0x07A8) 0x0EF4 SharePoint Foundation Upgrade SPIisWebSiteWssSequence ajywk ERROR Exception: Filename: \?\C:\WINDOWS\system32\inetsrv\config\applicationHost.config Error: 00000000-0000-0000-0000-000000000000
12/17/2020 12:42:31.91 PSCONFIG (0x07A8) 0x0EF4 SharePoint Foundation Upgrade SPIisWebSiteWssSequence ajywk ERROR at Microsoft.Web.Administration.Interop.IAppHostAdminManager.GetAdminSection(String bstrSectionName, String bstrPath) at Microsoft.Web.Administration.Configuration.GetSectionInternal(ConfigurationSection section, String sectionPath, String locationPath) at Microsoft.Web.Administration.ServerManager.SitesSectionCreator() at Microsoft.Web.Administration.Lazy.Initialize[T](T& target, CreateInstanceDelegate1 valueFactory) at Microsoft.Web.Administration.ServerManager.SitesCollectionCreator() at Microsoft.Web.Administration.Lazy.Initialize[T](T& target, CreateInstanceDelegate1 valueFactory) at Microsoft.SharePoint.Administration.SPIisVirtualDirectory…ctor(SPIisWebSite parent, String path) at Microsoft.SharePoint.Upgrade.SPWebConfigIisSiteAction.get_AppWebConfigPath() at Microsoft.SharePoint.Upgrade.RemoveJsonHandlerForVroom.Upgrade() at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade() 00000000-0000-0000-0000-000000000000
12/17/2020 12:42:32 15 ERR An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown. Additional exception information: Action 16.0.13.0 of Microsoft.SharePoint.Upgrade.SPIisWebSiteWssSequence failed.
Microsoft.SharePoint.Upgrade.SPUpgradeException: Action 16.0.13.0 of Microsoft.SharePoint.Upgrade.SPIisWebSiteWssSequence failed. —> System.Runtime.InteropServices.COMException: Filename: \?\C:\WINDOWS\system32\inetsrv\config\applicationHost.config
Error:
at Microsoft.Web.Administration.Interop.IAppHostAdminManager.GetAdminSection(String bstrSectionName, String bstrPath)
at Microsoft.Web.Administration.Configuration.GetSectionInternal(ConfigurationSection section, String sectionPath, String locationPath)
at Microsoft.Web.Administration.ServerManager.SitesSectionCreator()
at Microsoft.Web.Administration.Lazy.Initialize[T](T& target, CreateInstanceDelegate1 valueFactory) at Microsoft.Web.Administration.ServerManager.SitesCollectionCreator() at Microsoft.Web.Administration.Lazy.Initialize[T](T& target, CreateInstanceDelegate1 valueFactory)
at Microsoft.SharePoint.Administration.SPIisVirtualDirectory…ctor(SPIisWebSite parent, String path)
at Microsoft.SharePoint.Upgrade.SPWebConfigIisSiteAction.get_AppWebConfigPath()
at Microsoft.SharePoint.Upgrade.RemoveJsonHandlerForVroom.Upgrade()
at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
— End of inner exception stack trace —
at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.RunUpgraders(Object o, List1 lstClass) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveUpgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.RunRecursiveUpgrade(Object o, Boolean bNeedsUpgrade, SPTree1 root, Double rootRatioOrg, SPChronoMeter chronoMeter)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.Upgrade(Boolean recursively)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.RunRecursiveUpgrade(Object o, Boolean bNeedsUpgrade, SPTree1 root, Double rootRatioOrg, SPChronoMeter chronoMeter) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.Upgrade(Boolean recursively) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveUpgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.RunRecursiveUpgrade(Object o, Boolean bNeedsUpgrade, SPTree1 root, Double rootRatioOrg, SPChronoMeter chronoMeter)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPManager.InplaceUpgradeAdministrationWebApplication()
at Microsoft.SharePoint.PostSetupConfiguration.UpgradeTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
The operating system the target node is running
Windows Server 2016
Version of SharePoint that is used (e.g. SharePoint 2016)
SharePoint 2019
Version and build of PowerShell the target node is running
5.1
Version of the DSC module that was used
4.4.0
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (16 by maintainers)
Hi Yorick,
short update on this:
Currently working with Vlad on this issue, it seems the changes in applicationHost.config (implemented with March 2020 CU) causes the issue. In Windows Eventlog 2 errors came up related to ntdll.dll and clr.dll. Looks like a permission issue, however the account running psconfig remotely is local admin on each of the SharePoint servers…
We’re still investigating, will keep you updated…