Thursday, April 19, 2012

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

You may find is problem in MOSS or WSS 3.0

Saving a list as a 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 WSS 3.0 and MOSS 2007 is 10MB.

By default, Microsoft has restricted the download size of the list template as 10MB (10485760 bytes). If you are trying to save site/list template which are having more than 10MB size, you will get "The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes." error.

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

Points to note:

  • The propertyvalue parameter is in bytes, so the example above will increase the maximum size to approx 50MB.
  • There is a hard limit of 500MB so the value must be less than 524288000 or you will get an error when saving the list as a template.
  • The above increases the maximum size of both site and list templates.

 

Thanks for reading.. please post  comment… I’ll be happy to hear.

...HaPpY CoDiNg

Partha (Aurum)

1 comment:

  1. Designing websites using website templates is catching on as webmasters discover that templates give a website a professional appearance and are easy to implement while saving time and money.

    Thanks
    create your own store

    ReplyDelete