Cannot save site as template (An Unknown Error Has Occurred) even with the correct permissions/settings?

Hi everyone,
We're currently experiencing some issues saving a site as an template.
This is the error we get in the event viewer:
Exception information: 
    Exception type: InvalidOperationException 
    Exception message: Error saving solution to temporary file
   at Microsoft.SharePoint.SPSolutionExporter.ExportWebAsSolution()
   at 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)
   at Microsoft.SharePoint.ApplicationPages.SaveAsTemplatePage.BtnSaveAsTemplate_Click(Object sender, EventArgs e)
   at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I've looked everywhere for this error and all the sites point to a permission issue; I've check that already: it isn't. We've tried creating this template via PowerShell, C# command line application, SharePoint Designer and the savetmpl.aspx page at the
site itself: no result; Yes, it is a publishing site, but that didn't stop us. We've created a site template from a different site and the publishing feature was also enabled there.
Later this site really helped me into digging deeper into the logs: http://www.sharepointblogs.be/blogs/vandest/archive/2014/05/23/sharepoint-how-to-troubleshoot-issues-with-save-as-template.aspx
The annoying part is: the folder that is being created by the web application pool user when saving the site as a template is totally empty!
How can this be? Did I miss something? Could someone help me with this issue?
Thanks in advanced!
With kind regards,
M. Hekman

Hi  ,
According to your description, my understanding is that you encountered the error “Error saving solution to temporary file”  when you tried to save a publishing site as a template.
For your issue, please make sure you have set the SaveSiteAsTemplateEnabled property of your publishing site to true. You can refer to the PowerShell script as below:
# Get a reference to the target site
$web = Get-SPWeb http://Intranet.SWRanger.com/Publishing
# Update the property bage value and set it to the string value "true"
$web.AllProperties["SaveSiteAsTemplateEnabled"] = "true"
# Commit the property change to server
$web.Update()
Reference:
http://blogs.msdn.com/b/how24/archive/2013/06/13/save-publishing-site-as-a-template.aspx
Best Regards,
Eric
Eric Tao
TechNet Community Support

Similar Messages

  • Itunes cannot connect to this iphone an unknown error has occured. Please help.

    Hi,
    I have just got an iphone 5c. However i'm having trouble with my itunes on my laptop.
    I'm getting 2 error messages:
    Error message 1 is ( an unknown error occured 42032 ) this happens every time i open itunes.
    Error message 2 is ( itunes cannot connect to this iphone, an unknown error has occured ) this happens every time i try to connect my new phone.
    I am running the latest itunes version on windows 7.
    So far i've tried uninstalling all components and reinstalling them to no avail.
    I've spent 3 hours today on the phone to both Apple and Microsoft with both blaming each other.
    Please someone help.
    Kind regards
    Dale

    Hi prolough,
    Here is a link that should help:
    http://support.apple.com/kb/TS3221
    Cheers,
    GB

  • "An unknown error has occurred" followed by the error number 1415, 1417, 14

    "An unknown error has occurred" followed by the error number 1415, 1417, 1418, 1428, 1429, 1430, 1436 or 1439.
    I get this when I try to format my iPod. It was mashed by iTunes 9, I took it to the apple store and got it reformatted by a mac. Anyway now I've took it back home I keep getting this error when I try to format.
    I've tried a restart
    Tried updating drivers
    Tried uninstalling then reinstalling
    Tried in disc mode, tried not in disc mode.
    Any ideas?
    Cheers

    Sometimes I get unknown error 1439 too

  • App World Web Plugin Error: An error has occurred communicating with the BlackBerry App World Client.

    App World Web Plugin Error
    An error has occurred communicating with the BlackBerry App World Client.
    Please help me with this problem. I have a new Blackberry Storm 2. When I sign in, it asked me to get the BB appworld browser plug-in and connect my smartphone. So, i did connect it. Then, this message kept on popping out. I don't know how to fix it.

    Okay. this is what I do.
    I go onto http://appworld.blackberry.com/webstore/ & sign in. I then connect my phone & enter the device password. As soon as I do that, this comes up -> App World Web Plugin Error
    An error has occurred communicating with the BlackBerry App World Client.
    I don't know what's the problem & I've been searching for a solution but to no avail.

  • There is a message stating itunes cannot connect to itunes store.An unknown error has occured  (-3212). Make sure network is connected(which it is!) and try again. What can I do. I have been trying for days to purchase music...help! Please:)

    See above. My computer is online but not itune. What can i do???
    There is amsg stating itunes cannot connect to itunes store. An unknown error has occured (-3212) Please make sure the network is connected, which I've been on-line the whole time I;ve been trying to fix it . . Please help..ive been on this project for days. Thanks

    Hello Buck
    If you are having issues with the iTunes store, check out the article below.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Why iPad2 cannot download any application saying An unknown error has occurred?

    I have been using by ipad2 with latest sw update -ios5- without any problem.
    Just today when I  wanted to update some applications I just received a pop up massage saying an unknown error has occurred.
    I can neither download an application nor make an update.
    I tried couple of times the force quite and reboot. But the problem is still there.
    I will appreciate if someone knows the root cause and suggests a fix
    Many thanks in advance,
    Monfort

    Somehow this issue has been solved by itself.
    I do not really know why this happened and how it is solved.

  • TS1372 After trying all the above mentioned solutions im still getting the error message"An unknown error has occurred" followed by the error number 1439" Any more solutions or is my Ipod screwed?

    After trying all the solutions suggested by the the people at apple on their web site regarding the error message The ipod"ipod" could not be restored. An unknown error has occured (1439). After try all 9 of the resolutions provived i'm still getting the same message and am no nearer to restoring my ipod? Any suggestions or is my Ipod screwed?

    [email protected] wrote:
    I'm reluctant to post apple ID's in a public support forum, and would prefer to deal with this by private email.  or phone.
    Then contact Apple directly.
    This is a user to user technical support forum.  No one here has access to manage Apple ID's other than their own.
    There is no Apple presence here.

  • ITunes displays an error - The iPhone 'User's iPhone' cannot not be synced. An unknown error has occured

    The error number is (-69)
    I have tried deleting all music files in my itunes library with an exclamation mark next to them, but this error still occurs. I have also updated to the most version of iTunes and had to restore my iphone after the latest software update as it would not sync any songs or apps from my library!
    HELP!!

    Error 1 or -1
    This may indicate a hardware issue with your device.
    Follow Troubleshooting security software issues, and restore your device on a different known-good computer.
    If the errors persist on another computer, the device may need service.

  • I've synced ok till recently but an now having problems syncing myipod touch on windows platform - seems to start ok but then get the error message "an unknown error has occurred 13019" and the sync stops at that point so new music is not added - help!

    Hi
    I've been able to sync in the past but recently get an unknown error 13019 and the sync is stopped - so new music i've loaded up and other stuff doesn't go across - my ipod classic syncs ok as usual - but my ipod touch has the error.
    Please let me have any ideas to fix
    thanks
    Bill

    Have you seen this support article related to your error message?
    http://support.apple.com/kb/TS2830
    Or see this older thread with a number of other potential solutions.
    https://discussions.apple.com/thread/2046768?start=0&tstart=0
    B-rock

  • Import movie from iPhone gives "An unknown error has occurred while reading the video file. Connecting to Dynamic Link server failed. (1)

    Tried previous suggestions about purging the Camera Raw Cache and I raised it to 20.0 GB.
    Still lightroom fails to read most of the videos that I create on my iPhone 6 plus.
    Aperture, iMovie, and Image Capture have no problem with these files.
    Respectfully,
    Kay Fisher

    This is an iPhoto problem. It is, IMHO, one of the worst photo/video programs ever thought up by any company.
    I suggest you find your original video files, which won't contain any edits and or adjustment you have made in iPhoto, and copy them to some other folder on your drive that you create and then import them to LR.
    Usually iPhoto stores all original image and video files in a folder called Masters buried deep inside the iPhoto Photolibrary package folder. Which makes almost impossible for any normal computer user to get to.
    Next time you are in the market for a new computer think long and hard before you drink the Apple Mac Cool-aid.

  • Message: App World Web Plugin Error An error has occurred communicating with the BlackBerry App World Web plugin. Please restart your device and try again. If you have content protection enabled on your device, please disable and try again.

    This has been my problem ever since. I haven't downloaded any app yet via computer. Help me guys.
    Solved!
    Go to Solution.

    Hi Lhea
    Welcome to the Community
    If you're using a Chrome or Firefox, I suggest you use Internet explorer for the meantime, once the plugin has been intalled on the browser, since Chrome and Internet explorer almost share the same settings, it should work well with Chrome after it.
    Please leave a post if you have any further questions.
    Ron
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up Blackberry Battery Saving Tips | Follow me on Twitter

  • "An unknown error has occurred" AI 18.1.1

    I downloaded and installed the latest Illustrator CC 2014 (18.1.1) last Saturday. I'm using the updated software today for the first time and, in the two documents I've worked so far, I already lost some work. I'm getting the "An unknown error has occurred" message.  The files have a simple b&w drawing and one or two lines of text. I'm moving text blocks and/or resizing fonts using fonts I've used before and files that were working well last week. I cannot rescue the updated documents: trying to save to an eps gives me a "Can't save the illustration. A necessary resource is missing. ID: -192" message. Trying to save to a pdf give the "An unknown error" as well.  OS 10.7.5  I'll appreciate any insights.  ETA - I've been testing the issue: I open a page, type one character in Any Font and the "unknown error" appears - I cannot use this version of ai until I resolve this issue, can I revert to the previous CC version?

    YThom,
    This should help to revert to the earlier CC version:
    http://prodesigntools.com/adobe-cc-version-control.html

  • Error: AN UNKNOWN ERROR HAS OCCURRED when trying to update the Picture Motion Browser (PMB) Portable software on an Apple Macintosh computer.

    Solved!
    Go to Solution.

    When the camera is connected to an Apple Macintosh computer, a prompt appears that says an update is available for the PMB Portable software. Selecting to update the software later causes the application to not respond and display the unknown error has occurred message. The PMB Portable update is required to make it work with the computer.
    Follow the steps below to resolve this issue.
    IMPORTANT:
    The computer must be connected to the Internet to complete the steps in this solution.
    For the MHS-CM5 and MHS-PM5 bloggie cameras it is necessary to download and install a firmware update before installing the PMB Portable update. The firmware update is only required when installing the PMB Portable update and is available from the same page.
    Select the option to Update Nowin the PMB Portable window.
    Download and save the PMB Portable update PMBPMAC12_Upgrade1004a.dmgfor Mac.
    After completely downloading the update, close the PMB Portable window. Make sure the application is closed by removing or ejecting the UNTITLED or NO NAME icon on the desktop. However, leave the PMBPORTABLE icon.
    Close any other unnecessary applications that may be running on the computer.
    Open the PMBPORTABLE icon on the desktop.
    Drag the PMBP_Win.exefile to the trash.
    NOTE: If PMBP_Win.exe file is locked and cannot be moved, unlock it by doing the following:
    Select the file.
    In the drop-down list, click Get Info.
    In the General section, next to Locked, click to remove the check mark.
    Empty the Trash to completely remove the PMB_Win.exefile.
    Run the PMBPMAC12_Upgrade1004a.dmgto install the latest update.
    Follow the on-screen instructions to complete the installation process.

  • I am trying to watch a movie that I rened on itues but I keep getting an error msg " we could not complete your itunes request an unknown error has occured (-42110)

    I am trying to watch a movie that I rened on itues but I keep getting an error msg " we could not complete your itunes request an unknown error has occured (-42110)

    See the "Error 3001,"  "-42110," or "5103" section in the Specific Conditions and Alert Messages: (Mac OS X / Windows) section of the following document:
    iTunes: Advanced iTunes Store troubleshooting

  • Corrupted project file.  "An unknown error has occurred" help!

    Hi everyone,
    have been working on a wedding video for 5 days straight and sdude my an error forced the app to close.
    After attempting to reopen the project an error message has popped up:  "an unknown error has occurred"
    and closed the app again.
    Atempted to import sequences via a new project file and same error pops up.
    Any ideas?
    thank you very much.

    And I've been getting the message too, since yesterday. Using both my iMac and iphone 4.

Maybe you are looking for