Increasing the maximum size of list templates

The default size of a site template is 10485760 bytes and of a list template 10MB. So if you need to increase this limit use the following command:

1. Start-> Run

2. type cmd

3. navigate to the folder:  C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN directory

4. stsadm -o setproperty -propertyname max-template-document-size -propertyvalue 50000000

Notes:

  • The property value 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.

  • Posted Dec 14 2007, 11:12 AM by Nadine Storandt
    Filed under: ,

    Add a Comment

    (required)  
    (optional)
    (required)  
    Remember Me?
    developers.de is a .Net Community Blog powered by daenet GmbH.