The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes in SharePoint

The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes in SharePoint

Recently while working on a MOSS 2007 to SharePoint 2013 migration project, we wanted to save a MOSS 2007 list as a 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 a 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:

The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes in SharePoint
The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes in SharePoint

You can also use PowerShell command to increase the limit like below:

Add-PSSnapin Microsoft.SharePoint.Powershell

$webservice = [Microsoft.SharePoint.Administration.SPWebService]::ContentService

Write-Host “Size: ” $webservice.MaxTemplateDocumentSize

$webservice.MaxTemplateDocumentSize = 262144000 #250 MB


$webservice.Update()

Hope this will be helpful.


You May Also like the Following SharePoint Online Tutorials:

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →