SharePoint Config

Ari Bakker's thoughts on customising and configuring SharePoint

Increasing the maximum size of list templates

with 24 comments

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.

If you try to save the list as a template that is larger than this you will get the following error:

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

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.

Post to Twitter Post to Delicious Post to Digg Post to Reddit Post to StumbleUpon

Written by Ari Bakker

May 23rd, 2007 at 10:10 pm

24 Responses to 'Increasing the maximum size of list templates'

Subscribe to comments with RSS or TrackBack to 'Increasing the maximum size of list templates'.

  1. Great post. Thank you very much!


    5 Mar 09 at 7:58 pm

  2. Thank you! That did the trick.

    Shani Bagley

    23 Jan 09 at 5:05 pm

  3. Thanks, very helpful. I ran it, worked immediately, no need for iisreset under normal circumstances I suppose.

    Sean Wallbridge

    22 Dec 08 at 12:24 am

  4. Same thing as Craig… I successfully ran the command, reset iis but still having the same error message…


    13 Sep 09 at 7:00 am

  5. Hi, I have tried this and had a problem. Like Toby, the command completes successfully. However even with an iisreset, when I come to save the template I still get the 10MB limit error. Can anyone help with this as it's driving me crazy! lol



    26 Aug 09 at 11:20 am

  6. For those like me who use WSS 2.0.

    In my case I ran this command in C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN

    Then restarted the IIS and then recycled the all the aplication pools.

    Hope it helps


    12 Aug 09 at 1:24 pm

  7. Came across this problem trying to move a list containing a fair amount of content from our dev server to our production server.

    Worked perfectly. Nice.

    Dave Lee

    22 Jul 09 at 9:33 am

  8. Hi Can you please elaborate how the same can be achieved in WSS 2.0 and Sharepoint Portal Server 2003.


    18 Jun 09 at 9:53 am

  9. Thanks, very helpful


    16 Nov 08 at 3:28 pm

  10. After i increase the size of templates list , i have another problem "Failure decompressing data from a cabinet file"


    6 Oct 08 at 1:38 pm

  11. Thanks,

    After i increase the size of templates list , i have another problem "Failure decompressing data from a cabinet file"


    6 Aug 08 at 12:26 pm

  12. Does any one knows how to achieve the same in WSS 2.0


    7 May 08 at 5:45 am

  13. Excellent … exactly what I was looking for … thanks Ari !

    Craig Porter

    16 Apr 08 at 1:52 pm

  14. I just ran the stsadm command successfully (set the limit to the max 500mb limit) and then tried saving a site as a template. I still recieve the 10485760 byte error even after restarting web services on the server 🙁 Any ideas on what I am doing wrong?


    7 Feb 08 at 5:47 pm

  15. Thanks for your Help !


    25 Jan 08 at 2:58 pm

  16. thanks very helpful

    don stinnett

    8 Oct 07 at 9:44 pm

  17. sorry, for my lack of skill.
    I consider that it can be the way to backup list or document library.
    If I succeed to “save list as template” include content, how to use it to restore or export back to the list?


    11 Dec 09 at 11:17 am

  18. @dani3lr to create a list from a template navigate to the List Template Gallery (Site Actions > Site Settings > Galleries | List templates) and upload the template file. You should then see the list appear on the ‘Create’ page (Site Actions > View All Site Content > Create).

    Ari Bakker

    11 Dec 09 at 12:14 pm

  19. Hi Bakker

    Thanks for post

    After i increase the size of templates list , i have another problem “Failure decompressing data from a cabinet file” DO you have any idea how to recover from this


    11 Mar 10 at 7:57 am

  20. -propertyname max-template-document-size does not seem to exist for MOSS2010, any idea what it changed to? I see some possibly related, but nothing obvious…
    Thx in advance.


    4 Dec 10 at 3:00 am

  21. @J you can use the following PowerShell to increase the size in SharePoint 2010:


    $contentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
    write-host “MaxTemplateDocumentSize before: ” $contentService.MaxTemplateDocumentSize
    $contentService.MaxTemplateDocumentSize = 52428800
    write-host “MaxTemplateDocumentSize after: ” $contentService.MaxTemplateDocumentSize

    Ari Bakker

    14 Dec 10 at 6:16 pm

  22. Our main list called BP which is details around our pursuit budgets is accessible via standard SharePoint forms and custom developed list forms developed in SPD.

    However we cannot backup the data using the standard save as a template, this give is the following error:

    We also tried to backup by creating a standard view with all the table fields and tried to export to excel, but we get this error:
    connecting to datasource then…

    The other function we tried was to connect the SharePoint list BP to MS Access and open the table BP after import but that also errors with:

    Matt Pinkston

    22 Sep 11 at 12:26 am

  23. Hi,

    How can I increse web site template size limit from 50MB to 300 MB? in microsoft online



    4 Oct 12 at 1:53 pm

  24. Thanks for post

    but I dont have that folder after ..BIN\1003 what I can do.
    If I use this full path in Command Prompt then ‘stsdm’ not working…help me what I can do

Leave a Reply