Project Server 2010 - PWA Provisioning fails EventID 6971 Microsoft.SharePoint.Administration.SPUpdatedConcurrencyException: An update conflict has occurred, and you must re-try this action

Recently I encountered an issue while provisioning a new PWA site in my machine and found that it was failing with the below error in the Application event log

+ System

  - Provider

   [ Name] Microsoft-SharePoint Products-Project Server
   [ Guid] {B2178104-1B5B-4C20-8C8F-960678CED9E5} 
   EventID 6971 
   Version 14 
   Level 2 
   Task 20 
   Opcode 0 
   Keywords 0x4000000000000000 
  - TimeCreated

   [ SystemTime] 2011-11-07T07:30:51.139721000Z 
   EventRecordID 96009 
  - Correlation

   [ ActivityID] {A8047DDA-9EB8-4659-94EC-D379C1843849} 
  - Execution

   [ ProcessID] 3728
   [ ThreadID] 9140 
   Channel Application 
   Computer projectserver.com 
  - Security

   [ UserID] S-1-5-21-1987276620-123495779-302720296-236687
- EventData

  string0 PWA 
  string1 Microsoft.SharePoint.Administration.SPUpdatedConcurrencyException: An update conflict has occurred, and you must re-try this action. The object SPWebApplication Name=SharePoint - 80 was updated by projectserver\epm, in the STSADM (6368) process, on machine projectserver. View the tracing log for more information about the conflict. at Microsoft.SharePoint.Administration.SPConfigurationDatabase.StoreObject(SPPersistedObject obj, Boolean storeClassIfNecessary, Boolean ensure) at Microsoft.SharePoint.Administration.SPConfigurationDatabase.Microsoft.SharePoint.Administration.ISPPersistedStoreProvider.PutObject(SPPersistedObject persistedObject, Boolean ensure) at Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdate() at Microsoft.SharePoint.Administration.SPWebApplication.Update() at Microsoft.SharePoint.Administration.SPAutoSerializingObject.UpdateParent() at Microsoft.SharePoint.Administration.SPPrefixCollection.UpdateParent() at Microsoft.SharePoint.Administration.SPPrefixCollection.Add(String strPrefix, SPPrefixType type) at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.AddExplicitInclusionPrefix(SPWebApplication& webApp, String prefix) at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.CreateWSSSite(ProjectProvisionSettings provset, SPWebApplication parentWebApp, String adminName, String adminEmail, String secondaryAdminLogin, String secondaryAdminName, String secondaryAdminEmail, SPSiteStatus& siteStatus)

Well, this was caused due to the SharePoint Cache. Resolution steps provided at the KB to clear the SharePoint Cache https://support.microsoft.com/kb/939308 should help to fix this issue. The article is for 2007 but it goes well with 2010 as well. Now there could be different object in the error. Here you could see that the object name was SPWebApplication Name=SharePoint - 80. There is a possibility that the object you might have in the error is different than this one. So just check before you jump on to the next step to fix the issue.

Comments

  • Anonymous
    November 18, 2013
    nice article :)