Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

When I try to save as basic teamsite in SP2013 I get the following error:

[InvalidOperationException: Error copying temporary solution file to solutions gallery: _catalogs/solutions/test4.wsp]
   Microsoft.SharePoint.SPSolutionExporter.ExportWebToGallery(SPWeb web, String solutionFileName, String title, String description, ExportMode exportMode, Boolean includeContent, String workflowTemplateName, String destinationListUrl, Action`1 solutionPostProcessor, Boolean activateSolution) +4119
   Microsoft.SharePoint.ApplicationPages.SaveAsTemplatePage.BtnSaveAsTemplate_Click(Object sender, EventArgs e) +446
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +146
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3586

However when I go to _catalogs/solutions/forms/allitems.aspx page I see that the soluton is saved. When I check the temp folder on the server it contains the wsp file. I checked the security on the temp folder and all entries have full control.

What do I miss?

share|improve this question
Go to /_catalogs/solutions/forms/allitems.aspx and upload a wsp file. Can you do this? – Perplexed Feb 28 at 15:50
Tried is and it worked – Remko Mar 1 at 8:08
After saving the site as a template there a wsp in the solution gallery – Remko Mar 1 at 8:11

2 Answers

If it is possible in 2013 - try increasing the site template file size as this can be a possible cause for this error: http://www.cjvandyk.com/blog/Lists/Posts/Post.aspx?ID=284

share|improve this answer
That I tried, but unfortunately it hasn't worked – Remko Mar 1 at 8:07
up vote 0 down vote accepted

The problem was my profile. It was kind of corrupt. Everytime I was logged-in on my SharePoint 2013 server a Temp Profile was created.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.