Question

diffident on Tue, 16 Aug 2016 22:10:11


I am getting the following error when running PSConfig. Any pointers?

The web configuration file, C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\config\WEBCONFIG.ACCSRV.XML, does not have element "configuration/configSections/sectionGroup[@name='SharePoint']" or it is invalid.
System.IO.InvalidDataException: The web configuration file, C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\config\WEBCONFIG.ACCSRV.XML, does not have element "configuration/configSections/sectionGroup[@name='SharePoint']" or it is invalid.

I spent lot of time researching this error on the internet but could not find any pointers. What can be causing this error?


Sponsored



Replies

Lakshmanan Sethu on Tue, 16 Aug 2016 22:39:24


Hi,

Pls check the following. It should help you

https://social.msdn.microsoft.com/Forums/en-US/6737759d-edfe-49c9-8732-ed20f73c6e9f/configuration-wizard-cant-find-sharepoint-sectiongroup-in-webconfigaccsrvxml?forum=sharepointadminprevious

Jerry Zy on Wed, 17 Aug 2016 09:12:17


Hi diffident,

I suggest you can refer the blog below for the steps to fix this error:

Fixing SharePoint 2010 Configuration Wizard error: WEBCONFIG.ACCSRV.XML, does not have element “configuration/configSections/sectionGroup[@name=’SharePoint’]” or it is invalid

Thanks

Best Regards

Rahul_Dagar on Wed, 17 Aug 2016 09:37:30


HI

  1. Go to the Config folder "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\config" and remove all "WebConfig.#####.XML" files.  If you want, take backup to another location and rerun the configuration wizard, at least you will pass step 8 and if you lucky; the configuration wizard will completed successfully.
  2. In my case, after doing the first step, I got error in step 9 which is Failed to upgrade SharePoint....., if you can't Open SharePoint Central admin, go to Services and Start the service "World Wide Publishing Service" and then make sure your central admin in IIS is running, then delete all unnecessary web application from Central admin, and run the configuration wizard again (this works with me because the application that was blocking my upgrade is old and unused) otherwise, backup your application then delete it and run the configuration wizard again.

diffident on Thu, 18 Aug 2016 16:42:22


I tried following each one of your suggestions and I made only slight progress. It is frustrating to not know what's going on. I am now getting the below error:

08/17/2016 17:33:52  9  INF                  SyncUpgradeTimerJob: Upgrade timer job failed. Return -1.
08/17/2016 17:33:52  9  ERR                  The exclusive inplace upgrader timer job failed.

08/17/2016 17:33:52  9  ERR                  An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: Failed to upgrade SharePoint Products.
Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException: Exception of type 'Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException' was thrown.
   at Microsoft.SharePoint.PostSetupConfiguration.UpgradeTask.Run()
   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

I spent nearly two days figuring this one but no luck. Any pointers from here?


Rahul_Dagar on Fri, 19 Aug 2016 01:30:26


Hi

Can you try below cmd?

PSConfig.exe -cmd upgrade -inplace b2b -force

diffident on Fri, 19 Aug 2016 18:55:55


Hi

Can you try below cmd?

PSConfig.exe -cmd upgrade -inplace b2b -force


Mark it as an answer if it helped you out. Regards Rahul Dagar

I get the same error:

08/19/2016 13:49:42  11  INF            SyncUpgradeTimerJob: Upgrade timer job failed. Return -1.
08/19/2016 13:49:42  11  ERR            The exclusive inplace upgrader timer job failed.

diffident on Mon, 22 Aug 2016 15:13:03


Any pointers?

Rahul_Dagar on Mon, 22 Aug 2016 15:19:13


HI Diffident,

Can you do a timer cache clearance?

http://sharepointadda.blogspot.in/2016/07/timer-cache-clear-in-sharepoint.html

Once its done can you run the above cmd again.

diffident on Tue, 30 Aug 2016 22:08:20


After spending lot of time, I found a different log file which seems to be helping me narrow down the problem area.

From Central Admin > Upgrade and Migration > Check Upgrade Status

Once in the upgrade status page, look for "Log File" line item in the details grid and take a peek into the corresponding log file.