Recently while working on a MOSS 2007 to SharePoint 2013 migration project, we wanted to save a MOSS 2007 list as template. When we tried to Save a list it gave an error which says:
The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes.
You may like to read:
– Steps to list out All workflows presented in SharePoint 2007 Site Collection and SharePoint 2013
– Steps to Disable Sync button in SharePoint 2013
– SharePoint Groups or AD Groups which should we prefer?
In MOSS 2007, max size allowed is 10MB. We can increase by using stsadm command like below:
stsadm -o setproperty -propertyname max-template-document-size -propertyvalue 52428800
The command will increase the limit to 50MB.
In SharePoint 2013:
By default, it is 50MB in SharePoint 2010 or SharePoint 2013. So if it increased the limit then it will give an error like below:
You can also use PowerShell command to increase the limit like below:
$webservice = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
Write-Host “Size: ” $webservice.MaxTemplateDocumentSize
$webservice.MaxTemplateDocumentSize = 262144000 #250 MB
Hope this will be helpful.
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.