Sebastian Soanca's SharePoint blog


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

Posted in SharePoint 2007,SharePoint 2010 by Sebastian on January 17, 2011
Tags: , , ,

I was trying to save a list with huge content, as a List Template. As in SP 2007, there are limitation regarding the size of the template. The limit can be changed using STSADM line command.

To increase the maximum size, simply run the following stsadm command (from the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN directory) replacing the propertyvalue to the new maximum size (in bytes):

stsadm -o setproperty -propertyname max-template-document-size -propertyvalue 150000000

Notes:

  • The propertyvalue parameter is in bytes, so the example above will increase the maximum size to approx 150MB.
  • The command increases the maximum size of list and site templates.
About these ads

3 Responses to 'The list is too large to save as a template. The size of a template cannot exceed 52428800 bytes'

Subscribe to comments with RSS or TrackBack to 'The list is too large to save as a template. The size of a template cannot exceed 52428800 bytes'.

  1. tamas said,

    hi,
    i am new to sharepoint adminitration and found this post when i was trying to solve the size of list template problem.
    We have 2010 environment and was trying to find the 12/bin but couldnt find it, instead i found 14/bin/stsadm and was trying to edit it to put this code but couldnt do it, everything i open the stsadm, it runs and closes automatically, please let me know what i am missing here.
    appreciate your help. Thanks!

    • Sebastian said,

      Hi Tamas,

      For MOSS 2010 , STSADM is located as you discover in 14/bin folder. In order to run STSADM commands, you need to open a command prompt window AS ADMINISTRATOR. Then with CD commands, navigate to 14/BIN folder and run commands. That should work. Other way to achieve that is to add STSADM commant path to System Variables. Check this post, on point 2. This describe how to setup steps for MOSS 2007. For MOSS 2010 you need to change path to 14/BIN. Hope this solve your problem.

  2. Mark said,

    Is there a 500MB limit in SharePoint 2010? Hearing different things here.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.

%d bloggers like this: