0

In few pages while trying to add content editor web part on one SharePoint 2016 site collection getting below error:

0x80070057 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.ArgumentException: 0x80070057

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: [ArgumentException: 0x80070057] Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) +0 Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) +1574 Microsoft.SharePoint.SPWeb.GetFileOrFolderObject(String strUrl) +194 Microsoft.SharePoint.Publishing.CommonUtilities.GetFileFromUrl(String url, SPWeb web) +752 Microsoft.SharePoint.Publishing.PublishingPage.get_Layout() +137 Microsoft.SharePoint.Publishing.PublishingPage.GetEffectivePageCacheProfileId(Boolean anonUserProfile) +477 Microsoft.SharePoint.Publishing.CachedPage..ctor(PublishingPage page, SPListItem altItem, String id, String parentId, CachedUserResource title, String url, CachedUserResource description, ICachedObjectFactory factory, List1& fieldInfo) +584 Microsoft.SharePoint.Publishing.CachedPage.CreateCachedPage(PublishingPage page, ICachedObjectFactory factory, List1& fieldInfo, SPListItem altItem) +353 Microsoft.SharePoint.Publishing.CachedListItem.CreateCachedListItem(SPListItem item, SPListItem alternateItem, Boolean parentIsWeb, ICachedObjectFactory factory, List1& fieldInfo) +113 Microsoft.SharePoint.Publishing.CachedObjectFactory.CreateObject(SPListItem listItem, List1& fieldInfo) +1189 Microsoft.SharePoint.Publishing.CachedObjectFactory.CreateObject(PublishingPage page) +45 Microsoft.SharePoint.Publishing.CachedObjectFactory.GetPageForCurrentItem() +161 Microsoft.SharePoint.Publishing.PublishingHttpModule.GetOutputCacheDetails(HttpContext context) +885 Microsoft.SharePoint.Publishing.PublishingHttpModule.IsContextPageForOutputCache() +209 Microsoft.Office.Server.Search.WebControls.ScriptWebPart.OnLoad(EventArgs e) +175 System.Web.UI.Control.LoadRecursive() +68 System.Web.UI.Control.LoadRecursive() +162 System.Web.UI.Control.LoadRecursive() +162 System.Web.UI.Control.LoadRecursive() +162 System.Web.UI.Control.LoadRecursive() +162 System.Web.UI.Control.LoadRecursive() +162 System.Web.UI.Control.LoadRecursive() +162 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785 Please suggest.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.