MOSS 2007: An update conflict has occurred, and you must re-try this action. The Object SPWebApplication….SPUpdatedConcurrencyException

Problem: User could not create a new web application in MOSS 2007. When creating user would receive the following error in both their test and production environments:

The following was found in the ULS logs:

Microsoft.SharePoint.Administration.SPUpdatedConcurrencyException: An update conflict has occurred, and you must re-try this action. The object SPWebApplication Name=MyServer.net was updated by domain\account, in the w3wp (7936) process, on machine MACHINE_NAME.  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)   

Resolution:

Researched and talked to some colleagues about a similar error to: SPUpdatedConcurrencyException: An update conflict has occurred, and you must re-try this action. They mentioned finding a similar error in the Event logs and problem was something to do with a 3rd party workflow causing a conflict upon creation of the Web Application. I had the user do the following:

· Reproduce the problem in a test environment

· Record the time of the error

· Look for the error in the Events log around the same time as the reproduced error: SPUpdatedConcurrencyException: An update conflict has occurred, and you must re-try this action

· There should be a feature/solution listed that is probably the culprit

· User retracted suspect solution

· Successfully created a web app

Fight Comparison:

Tyson vs. Douglas. I was terrified, first few months on the job, had never seen this error before AND it was going to possibly delay the user’s go live date. Not being able to create a new web application is pretty limiting to say the least. Douglas must have been terrified too, facing the baddest man on the planet, the seemingly invincible Mike Tyson. But he persevered, almost got knocked out and pulled through in the end.