I have migrated some libraries and lists from SharePoint 2007 directly to SharePoint 2013 (using some creative scripting). While this mostly works, I have a few stubborn libraries that refuse to work properly. The problem seems to be focused around the XsltListViewWebPart,
the default viewer of content since SharePoint 2010. The migrated libraries are imported with the functional ListViewWebPart, but if I make any changes to the view it's "upgraded" to the XsltListViewWebPart or if I create a new view it
uses the XsltListViewWebPart. While I would like to use the XsltListViewWebPart for its superior functionality, I receive the following error whenever a page with the XsltListViewWebPart for the library loads. Seems like it's missing the proper content
types possibly, but I can't figure out how to get around it.
Server Error in '/' Application.
Attempted to use an object that has ceased to exist. (Exception from HRESULT: 0x80030102 (STG_E_REVERTED))
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: Attempted to use an object that has ceased to exist. (Exception from HRESULT: 0x80030102 (STG_E_REVERTED))
Source Error:An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:[COMException (0x80030102): Attempted to use an object that has ceased to exist. (Exception from HRESULT: 0x80030102 (STG_E_REVERTED))]
Microsoft.SharePoint.Library.SPRequestInternalClass.GetListContentTypes(String bstrUrl, String bstrListName, ISPDataCallback pXMLCallback) +0
Microsoft.SharePoint.Library.SPRequest.GetListContentTypes(String bstrUrl, String bstrListName, ISPDataCallback pXMLCallback) +223
[SPException: Attempted to use an object that has ceased to exist. (Exception from HRESULT: 0x80030102 (STG_E_REVERTED))]
Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) +146
Microsoft.SharePoint.Library.SPRequest.GetListContentTypes(String bstrUrl, String bstrListName, ISPDataCallback pXMLCallback) +589
Microsoft.SharePoint.SPContentTypeCollection.FetchCollection(IList`1 exceptions) +318
Microsoft.SharePoint.SPList.get_ContentTypes() +128
Microsoft.SharePoint.SPCustomActionElement.QueryForToolbarButtons(SPWeb web, SPList list, SPListItem item, PAGETYPE pgtype) +1742
Microsoft.SharePoint.SPCustomActionElement.AddCustomToolbarButtons(SPWeb web, SPList list, SPListItem item, SPContext renderContext, PAGETYPE pgtype, ToolBar toolbarControl, WebPart webPart, Page page) +106
Microsoft.SharePoint.WebControls.ViewToolBar.CreateChildControls() +393
System.Web.UI.Control.EnsureChildControls() +189
Microsoft.SharePoint.WebControls.TemplateBasedControl.OnLoad(EventArgs e) +132
System.Web.UI.Control.LoadRecursive() +95
System.Web.UI.Control.AddedControl(Control control, Int32 index) +729
Microsoft.SharePoint.WebPartPages.DataFormWebPart.CreateChildControls() +1601
Microsoft.SharePoint.WebPartPages.XsltListViewWebPart.CreateChildControls() +3000
Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter.CreateChildControls() +129
System.Web.UI.Control.EnsureChildControls() +166
System.Web.UI.Control.PreRenderRecursiveInternal() +73
System.Web.UI.Control.PreRenderRecursiveInternal() +240
System.Web.UI.Control.PreRenderRecursiveInternal() +240
System.Web.UI.Control.PreRenderRecursiveInternal() +240
System.Web.UI.Control.PreRenderRecursiveInternal() +240
System.Web.UI.Control.PreRenderRecursiveInternal() +240
System.Web.UI.Control.PreRenderRecursiveInternal() +240
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4090
|
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18010