none
Upgrade-spcontentdatabase fails at 34%

    Question

  • I have 4 content databases for 1 web app and one of them always fails no matter what i try. The error is referring to the default.master masterpage being changed however none of the sites in the 2010 site are using this master page. 

    I have even deleted the default.master page from the master page gallery and it still is throwing this error, any ideas?

     

     This is the error i get:

    ] [INFO] [7/6/2011 2:23:38 PM]: SPSite Url=http://spapptest1he:82/sites/test
    [powershell] [SPSiteWssSequence] [ERROR] [7/6/2011 2:23:38 PM]: Action 4.0.10.0 of Microsoft.SharePoint.Upgrade.SPSiteWssSequence failed.
    [powershell] [SPSiteWssSequence] [INFO] [7/6/2011 2:23:38 PM]: SPSite Url=http://spapptest1he:82/sites/test
    [powershell] [SPSiteWssSequence] [ERROR] [7/6/2011 2:23:38 PM]: Inner Exception: <nativehr>0x81020015</nativehr><nativestack></nativestack>The file _catalogs/masterpage/default.master has been modified by SHAREPOINT\system on 29 Apr 2008 13:08:27 -0500.
    [powershell] [SPSiteWssSequence] [INFO] [7/6/2011 2:23:38 PM]: SPSite Url=http://spapptest1he:82/sites/test
    [powershell] [SPSiteWssSequence] [ERROR] [7/6/2011 2:23:38 PM]:    at Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)
       at Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)
    [powershell] [SPSiteWssSequence] [INFO] [7/6/2011 2:23:38 PM]: SPSite Url=http://spapptest1he:82/sites/test
    [powershell] [SPSiteWssSequence] [ERROR] [7/6/2011 2:23:38 PM]: Exception: The file _catalogs/masterpage/default.master has been modified by SHAREPOINT\system on 29 Apr 2008 13:08:27 -0500.
    [powershell] [SPSiteWssSequence] [INFO] [7/6/2011 2:23:38 PM]: SPSite Url=http://spapptest1he:82/sites/test
    [powershell] [SPSiteWssSequence] [ERROR] [7/6/2011 2:23:38 PM]:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
       at Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)
       at Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32& ulID, Object& objAttachmentNames, Object& objAttachmentContents, Boolean suppressAfterEvents, String filename)
       at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents, String filename)
       at Microsoft.SharePoint.Upgrade.PerWebUpgradeAction.SetMetadataOnDefaultMaster(SPWeb web)
       at Microsoft.SharePoint.Upgrade.PerWebUpgradeAction.Upgrade()
       at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
    [powershell] [SPUpgradeSession] [INFO] [7/6/2011 2:23:38 PM]: SPSite Url=http://spapptest1he:82/sites/test
    [powershell] [SPUpgradeSession] [ERROR] [7/6/2011 2:23:38 PM]: Upgrade [SPSite Url=http://spapptest1he:82/sites/test] failed. Microsoft.SharePoint.Upgrade.SPSiteWssSequence has the ContinueOnFailiure bit set. Moving on to the next object in sequence.
    [powershell] [SPUpgradeSession] [INFO] [7/6/2011 2:23:38 PM]: SPSite Url=http://spapptest1he:82/sites/test
    [powershell] [SPUpgradeSession] [ERROR] [7/6/2011 2:23:38 PM]: Inner Exception: The file _catalogs/masterpage/default.master has been modified by SHAREPOINT\system on 29 Apr 2008 13:08:27 -0500.
    [powershell] [SPUpgradeSession] [INFO] [7/6/2011 2:23:38 PM]: SPSite Url=http://spapptest1he:82/sites/test
    [powershell] [SPUpgradeSession] [ERROR] [7/6/2011 2:23:38 PM]:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
       at Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)
       at Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32& ulID, Object& objAttachmentNames, Object& objAttachmentContents, Boolean suppressAfterEvents, String filename)
       at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents, String filename)
       at Microsoft.SharePoint.Upgrade.PerWebUpgradeAction.SetMetadataOnDefaultMaster(SPWeb web)
       at Microsoft.SharePoint.Upgrade.PerWebUpgradeAction.Upgrade()
       at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
    [powershell] [SPUpgradeSession] [INFO] [7/6/2011 2:23:38 PM]: SPSite Url=http://spapptest1he:82/sites/test
    [powershell] [SPUpgradeSession] [ERROR] [7/6/2011 2:23:38 PM]: Exception: Action 4.0.10.0 of Microsoft.SharePoint.Upgrade.SPSiteWssSequence failed.
    [powershell] [SPUpgradeSession] [INFO] [7/6/2011 2:23:38 PM]: SPSite Url=http://spapptest1he:82/sites/test
    [powershell] [SPUpgradeSession] [ERROR] [7/6/2011 2:23:38 PM]:    at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
       at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)

    Wednesday, July 06, 2011 7:32 PM

All replies

  • Hi,

    Are you trying to migrate from 2007 to 2010? If that's the case check pre-upgradechecker http://technet.microsoft.com/en-us/library/cc262231.aspx for any errors before upgrade.


    Regards

    Henrik A. Halmstrand
    http:/www.sharepointrevealed.com
    http://getspconfig.codeplex.com
    Wednesday, July 06, 2011 7:47 PM
  • yes and nothing in the results of the upgradechecker is leading me to that error.
    Wednesday, July 06, 2011 8:10 PM
  • I'm wondering if there ever was an answer to this, I'm getting the same error. The upgrade completes at 100% for me but the sites past the one with the error are not provisioned with the v4.master or have the new functionality for 2010...the new options under site settings like designer and preview visual upgrade. Here is the errror messages I get.

     

     

     

    [PSCONFIG] [SPSiteWssSequence] [ERROR] [3/21/2012 12:58:14 PM]: Action 4.0.10.0 of Microsoft.SharePoint.Upgrade.SPSiteWssSequence failed.
    [PSCONFIG] [SPSiteWssSequence] [ERROR] [3/21/2012 12:58:14 PM]: Inner Exception: <nativehr>0x81020015</nativehr><nativestack></nativestack>The file _catalogs/masterpage/default.master has been modified by SHAREPOINT\system on 05 Jun 2009 14:05:50 -0400.
    [PSCONFIG] [SPSiteWssSequence] [ERROR] [3/21/2012 12:58:14 PM]:    at Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)
       at Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)
    [PSCONFIG] [SPSiteWssSequence] [ERROR] [3/21/2012 12:58:14 PM]: Exception: The file _catalogs/masterpage/default.master has been modified by SHAREPOINT\system on 05 Jun 2009 14:05:50 -0400.
    [PSCONFIG] [SPSiteWssSequence] [ERROR] [3/21/2012 12:58:14 PM]:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
       at Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)
       at Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32& ulID, Object& objAttachmentNames, Object& objAttachmentContents, Boolean suppressAfterEvents, String filename)
       at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents, String filename)
       at Microsoft.SharePoint.Upgrade.PerWebUpgradeAction.SetMetadataOnDefaultMaster(SPWeb web)
       at Microsoft.SharePoint.Upgrade.PerWebUpgradeAction.Upgrade()
       at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
    [PSCONFIG] [PerWebUpgradeAction (4.0.10.0)] [DEBUG] [3/21/2012 12:58:14 PM]: Begin Rollback()
    [PSCONFIG] [PerWebUpgradeAction (4.0.10.0)] [DEBUG] [3/21/2012 12:58:14 PM]: End Rollback()
    [PSCONFIG] [PerWebUpgradeAction (4.0.10.0)] [DEBUG] [3/21/2012 12:58:15 PM]: Begin Dispose()
    [PSCONFIG] [PerWebUpgradeAction (4.0.10.0)] [DEBUG] [3/21/2012 12:58:15 PM]: End Dispose()
    [PSCONFIG] [PerWebUpgradeAction (4.0.10.0)] [DEBUG] [3/21/2012 12:58:15 PM]: SQL Query Count=1800
    [PSCONFIG] [PerWebUpgradeAction (4.0.10.0)] [DEBUG] [3/21/2012 12:58:15 PM]: SPRequest Objects=252
    [PSCONFIG] [PerWebUpgradeAction (4.0.10.0)] [DEBUG] [3/21/2012 12:58:15 PM]: Execution Time=28046.5405519417
    [PSCONFIG] [SPUpgradeSession] [ERROR] [3/21/2012 12:58:15 PM]: Upgrade [SPSite Url=http://njwarshptfs1] failed. Microsoft.SharePoint.Upgrade.SPSiteWssSequence has the ContinueOnFailiure bit set. Moving on to the next object in sequence.
    [PSCONFIG] [SPUpgradeSession] [ERROR] [3/21/2012 12:58:15 PM]: Inner Exception: The file _catalogs/masterpage/default.master has been modified by SHAREPOINT\system on 05 Jun 2009 14:05:50 -0400.
    [PSCONFIG] [SPUpgradeSession] [ERROR] [3/21/2012 12:58:15 PM]:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
       at Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)
       at Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32& ulID, Object& objAttachmentNames, Object& objAttachmentContents, Boolean suppressAfterEvents, String filename)
       at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents, String filename)
       at Microsoft.SharePoint.Upgrade.PerWebUpgradeAction.SetMetadataOnDefaultMaster(SPWeb web)
       at Microsoft.SharePoint.Upgrade.PerWebUpgradeAction.Upgrade()
       at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
    [PSCONFIG] [SPUpgradeSession] [ERROR] [3/21/2012 12:58:15 PM]: Exception: Action 4.0.10.0 of Microsoft.SharePoint.Upgrade.SPSiteWssSequence failed.
    [PSCONFIG] [SPUpgradeSession] [ERROR] [3/21/2012 12:58:15 PM]:    at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
       at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)
    [PSCONFIG] [SPUpgradeSession] [DEBUG] [3/21/2012 12:58:15 PM]: Elapsed time upgrading [SPSite Url=http://njwarshptfs1]: 00:00:28.
    [PSCONFIG] [SPUpgradeSession] [DEBUG] [3/21/2012 12:58:15 PM]: Disposing SPSite Url=http://njwarshptfs1.

     

    The site refered to in the error message is the root of the collection and some of the sites are converted and some are not. Any ideas? google is not helping here.

     

     

    David

    Wednesday, March 21, 2012 5:25 PM
  • Any luck on this David?

    I'm getting this error on 2 site collections when I am doing the upgrade to SP1/Dec 2011 CU on sp2010.  I migrated via db upgrade from 2007 to 2010 last year.  I guess it is possible the error existed during the 2007-2010 migration, but am noticing it now.

    Thanks

    Sunday, April 15, 2012 2:23 AM
  • We ran into this same error but managed to fix it.  Turns out it was caused by "hidden" master pages that were corrupt.

    We happened to be browsing one of the subsites with SharePoint Designer and noticed that the "Master Pages" entry showed some files that don't show up in the master page gallery in the site settings UI.  (The UI apparently uses the root site's master page gallery, but subsites seem to have their own gallery--in the _catalogs/masterpage folder.)  The default.master file for this particular subsite was showing up as being 1KB in size and totally empty when opened for editing in SPD.

    The "modified by" in our error message was a service account for a third-party migration tool that is no longer being used.  Our theory is that the site collection was moved with the tool at some point and that the subsite master pages got blanked out then.

    We fixed it by writing a PowerShell script to loop through the subsites, check their master page galleries for bad master pages, and replace them with a "good" copy from another site.

    We re-ran the upgrade, and it completed successfully.


    Friday, August 24, 2012 5:37 PM