Hello,
On SharePoint foundation 2010, I am able to save other sites as templates. There is one site with a custom solution which generates the following error when I try to save it as a template:
SPSolutionExporter: System.InvalidOperationException: There was an error generating the XML document. ---> System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). at System.Guid..ctor(String g) at Microsoft.SharePoint.WebPartPages.ListFormWebPart.get_ItemContext() at Microsoft.SharePoint.WebPartPages.ListFormWebPart.get_ShowToolbarWithRibbon() at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterListFormWebPart.Write15_ListFormWebPart(String n, String ns, ListFormWebPart o, Boolean isNullable, Boolean needType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterListFormWebPart.Write16_WebPart(Object o)
I figured it may be a web part, so I inspected the web parts for all the pages. They all look to be ok. I decided to remove all the pages with custom views to try to identify where the problem is, but after removing all the pages, I am still unable to save the site.
Is there a way to pinpoint/debug what generates this error? Any feedback is appreciated.
thanks
0g