共用方式為


SharePoint 2010 : Exception: Microsoft.SharePoint.Administration.SPUpdatedConcurrencyException

After applying a cumulative update\ service pack on SharePoint Servers when we run psconfig.exe -cmd upgrade -inplace b2b –wait -force it fails on step 3 with the error message

"Exception: Microsoft.SharePoint.Administration.SPUpdatedConcurrencyException: An update conflict has occurred, and you must re-try this action. The object SPUpgradeSession Name=Upgrade-20110604-023550-824 was updated by Topgear\administrator, in the PSCONFIG (4272) process, on machine SharePoint2010. View the tracing log for more information about the conflict"

Resolution:

Open command prompt on the SharePoint Server (Run as Administrator)

Navigate to following location

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Bin

Execute:

stsadm -o setproperty -pn command-line-upgrade-running -pv Yes

Note: Running the above command on the SharePoint server will reset the command-line-upgrade-running property where an upgrade process stopped responding. Also, this command needs to be executed on each SharePoint Servers in the farm after the upgrade completes successfully on first server

Later, execute following to initiate the upgrade process again.

psconfig.exe -cmd upgrade -inplace b2b –wait –force

Note: If the upgrade fails with any errors re-view the upgrade.log file as it would contain detailed information to troubleshoot.

Comments

  • Anonymous
    January 01, 2003
    Thanks for the info! Work fine for me!

  • Anonymous
    January 01, 2003
    Great, Works for me as well..

  • Anonymous
    January 01, 2003
    Perfect.  Saved the day.  Thanks!!!!

  • Anonymous
    December 01, 2011
    Great info, worked like a charm...thanks Sushant!

  • Anonymous
    December 12, 2013
    Worked for my environment also. Thanks

  • Anonymous
    January 14, 2014
    Worked for me as Well

  • Anonymous
    February 27, 2014
    Great, you saved my job!!!

  • Anonymous
    May 26, 2014
    Yup worked for me. Thanks.

  • Anonymous
    August 04, 2014
    yghghgh yghghgh yghghgh yghghgh yghghgh

  • Anonymous
    September 15, 2014
    i think it shoudl be running -pv No instead of yes

    http://blogs.technet.com/b/balasm/archive/2012/05/18/configuration-wizard-failed-an-update-conflict-has-occurred-and-you-must-re-try-this-action.aspx

  • Anonymous
    September 26, 2014
    Worked for me, even on SP2013. Thanks a million!

  • Anonymous
    October 08, 2014
    Thanks! This worked for me. Bless you!

  • Anonymous
    January 09, 2015
    Perfect! you saved my day

  • Anonymous
    August 13, 2015
    Excellent solution ,many thanks

  • Anonymous
    September 22, 2015
    STSADM to the rescue!
    Great post!

  • Anonymous
    January 16, 2016
    you rock Sushant!!