SharePoint Asked by AH Jamali on January 6, 2022
I was making few UI changes to my SharePoint masterpage and I started getting following error, I also tried to restore previous versions of masterpage but that didnt work.
Can anyone help please.
In the error it says :
One of the properties of the Web Part has an incorrect format. Microsoft SharePoint Foundation cannot deserialize the Web Part. Check the format of the properties and try again.]
but how I find which webpart has issue ?
My environment is SharePoint 2016.
Thanks in advance.
Server Error in '/' Application.
Instance validation error: '
None
' is not a valid value for FrameType.
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.InvalidOperationException: Instance validation error: '
None
' is not a valid value for FrameType.
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:
[InvalidOperationException: Instance validation error: '
None
' is not a valid value for FrameType.]
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderContentEditorWebPart.Read7_FrameType(String s) +223
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderContentEditorWebPart.Read12_ContentEditorWebPart(Boolean isNullable, Boolean checkType) +710
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderContentEditorWebPart.Read13_WebPart() +119
[InvalidOperationException: There is an error in XML document (9, 53).]
System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) +819
Microsoft.SharePoint.WebPartPages.WebPart.ParseXml(XmlReader reader, Type type, String[] links, SPWeb spWeb) +210
[WebPartPageUserException: One of the properties of the Web Part has an incorrect format. Microsoft SharePoint Foundation cannot deserialize the Web Part. Check the format of the properties and try again.]
Microsoft.SharePoint.WebPartPages.WebPart.ParseXml(XmlReader reader, Type type, String[] links, SPWeb spWeb) +800
Microsoft.SharePoint.WebPartPages.WebPart.AddParsedSubObject(Object obj) +1268
System.Web.UI.ControlBuilder.BuildChildren(Object parentObj) +1067
System.Web.UI.ControlBuilder.InitObject(Object obj) +479
System.Web.UI.ControlBuilder.BuildObjectInternal() +285
System.Web.UI.ControlBuilder.BuildChildren(Object parentObj) +888
System.Web.UI.ControlBuilder.InitObject(Object obj) +479
System.Web.UI.ControlBuilder.BuildObjectInternal() +285
System.Web.UI.ControlBuilder.BuildChildren(Object parentObj) +888
System.Web.UI.ControlBuilder.InitObject(Object obj) +479
System.Web.UI.ControlBuilder.BuildObjectInternal() +285
System.Web.UI.ControlBuilder.BuildChildren(Object parentObj) +888
System.Web.UI.ControlBuilder.InitObject(Object obj) +479
System.Web.UI.FileLevelPageControlBuilder.InitObject(Object obj) +42
System.Web.Compilation.BuildResultNoCompileTemplateControl.FrameworkInitialize(TemplateControl templateControl) +168
System.Web.UI.TemplateControl.FrameworkInitialize() +106
System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +1247
System.Web.UI.Page.get_Master() +65
System.Web.UI.Page.ApplyMasterPage() +17
System.Web.UI.Page.PerformPreInit() +53
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1132
I have figure out the issue, actually we have one content editor webpart placed on MasterPage in our staging environment. once we migrated the sitecollection we start getting this error. What fixed this issue: In order to fix it, we deleted that content editor webpart from Masterpage and created it again on production environment through Snippet Gallery.
Answered by AH Jamali on January 6, 2022
0 Asked on December 17, 2021
1 Asked on December 14, 2021 by inderpal
1 Asked on December 14, 2021
2 Asked on December 14, 2021 by nick-atkinson
1 Asked on December 14, 2021 by imen-turki
2019 sharepoint server solution deployment solution package visual studio
1 Asked on December 14, 2021
calculated column calculated column formula list sharepoint online
2 Asked on December 14, 2021
1 Asked on December 12, 2021 by suresh-bolineni
1 Asked on December 12, 2021 by crow-canyon
0 Asked on December 12, 2021 by maris
content migration office 365 pnp powershell sharepoint online
1 Asked on December 12, 2021
2 Asked on December 10, 2021 by user1519872
1 Asked on December 10, 2021 by grzegorz-z
1 Asked on December 10, 2021
2010 sharepoint enterprise sharepoint foundation sharepoint server
2 Asked on December 10, 2021
1 Asked on December 8, 2021
1 Asked on December 8, 2021 by spideynok
access alternate access mapping external users sharepoint server
2 Asked on December 8, 2021
Get help from others!
Recent Questions
Recent Answers
© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP