Thursday, January 21, 2010

How to Increase the maximum size of list templates?

Problem / Issue:
Saving a list as template is an easy way of transferring data from one place to another in SharePoint. By default, however the maximum size of list templates in  WSS3.0 and MOSS 2007 is 10 MB.

If you try to save the list as template that is larger than this you will get the follwoing error.
The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes.

Solution:
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 50000000

0 comments:

Post a Comment