When utilizing sites created from custom templates (e.g. OOTB team site with additional library added) and the content included in the template, the following error begins to appear when sites are created from the templates.
System.InvalidOperationException: Operation is not valid due to the current state of the object. at Microsoft.SharePoint.SPListItem.get_EffectiveBasePermissions() at Microsoft.SharePoint.WebPartPages.WikiEditPage.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
This will appear on the home page (e.g. Home.aspx) of the sites in question and the page is inaccessible even after all web parts are removed from the page via the Web Parts Maintenance page.
Are there any known issues with utilizing site templates with content that are still unresolved and/or may have been resolved in one of available Cumulative Updates? If there are no known issues, does anyone know of any workarounds (e.g. site features that should not be activated (outside of the publishing feature))?