I have read every posting about this issue. Tried everything suggested in previous postings and still have this particular issue.
We have SharePoint Enterprise 2010 - Using a fresh Site Collection, everything about the site is out of the box, I have not made any modifications to the site yet. When I try to Save site as Template, I am receiving the below errors. I did not put the full error because this posting seems to have limitations.
0x1C54 SharePoint Foundation General c42u Monitorable SPSolutionExporter: System.Xml.XmlException: 'Overwrite' is a duplicate attribute name. Line 1, position 256. at System.Xml.XmlTextReaderImpl.Throw(Exception 0x1C54 SharePoint Foundation Runtime tkau Unexpected System.InvalidOperationException: Error generating solution files in temporary directory. at Microsoft.SharePoint.SPSolutionExporter.ExportWebAsSolution() at Microsoft.SharePoint.SPSolutionExporter.ExportWebToGallery
The App service accounts have Full permissions in the C:\Temp and C:\windows\temp . We completely uninstalled a custom SP solution that touches the content types. I found the following possible fix and wanted to see what this group thinks: