Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

Cannot Save Site as Template

$
0
0

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:                  

When running Windows Sharepoint Foundation 2010 on a Windows 2008 R2 system, a failure occurs during a "Save Site as a template" and returns an error message:
An unexpected error has occurred .
The Sharepoint ULS logfile shows:
System.InvalidOperationException: Error generating solution files in temporary directory .
Solution
This failure is caused by corrupt permissions on directories such as the temporary directories.
This is a failure outside of Sharepoint and causes other applications to fail also.
Directory permissions must be restored to the correct values.
The directory that was having problems is c:\users\Administrator\AppData\local\temp .
Use this command to restore the Sharepoint directory permissions, but the temporary directories that are causing these problems are not the Sharepoint directories:
Psconfig -cmd securresources


Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>