Showing posts with label Attempted to use an object that has ceased to exist. Show all posts
Showing posts with label Attempted to use an object that has ceased to exist. Show all posts

Thursday, June 16, 2016

Attempted to use an object that has ceased to exist. (Exception from HRESULT: 0x80030102 (STG_E_REVERTED)) SharePoint 2013

Getting this error while migrating content from SharePoint 2010 to SharePoint 2013. after doing migration, when i tried to open some of libraries, they throw errors.

Error:





Solution:
  - First Change view of library using SharePoint designer where you are getting this error.
  - run following command for all broken libraries one by one,

$web = Get-SPWeb http://qas.classic.com/teams/test1
$list = $web.Lists["test library"]
$fld = $web.Fields.GetFieldByInternalName("SortBehavior")

$list.Fields.Add($fld)

Still if you get error while running code as following,



  - then Create new single text column called "SortBehavior" in library and it will start working soon with all items view.

- That's all,,,:)