This blog has moved to www.sharepointconfig.com

May24

Increasing the maximum size of list templates

Categories: Errors, WSS 3.0, Lists, Templates
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.
 
 

Comments

On 09 Oct 2007 10:44, don stinnett said:

thanks very helpful

On 26 Jan 2008 03:58, CrazySP said:

Thanks for your Help !

On 08 Feb 2008 06:47, Toby said:

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?

On 21 Feb 2008 03:55, =8)-DX said:

Toby, maybe an iisreset (or AppPool refresh) would help.. I would recommend doing that after almost all stsadm commands

On 17 Apr 2008 01:52, Craig Porter said:

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

On 07 May 2008 05:45, Satheesh said:

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

On 07 Aug 2008 12:26, Burim said:

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

On 07 Oct 2008 02:38, Nadeem said:

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

On 17 Nov 2008 04:28, Matej said:

Thanks, very helpful

On 22 Dec 2008 01:24, Sean Wallbridge said:

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

On 24 Jan 2009 06:05, Shani Bagley said:

Thank you! That did the trick.

On 06 Mar 2009 08:58, Geoffrey said:

Great post. Thank you very much!

On 18 Jun 2009 09:53, Ankit said:

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

On 22 Jul 2009 09:33, Dave Lee said:

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.

On 13 Aug 2009 01:24, Hawkmoth said:

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

On 26 Aug 2009 11:20, Craig said:

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 Thanks

On 13 Sep 2009 07:00, Ashraf said:

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

On 15 Oct 2009 05:32, Ari said:

This blog has been moved to SharePoint Config. To view or comment on this article please head over to Increasing the maximum size of list templates.

Comments for this article are now closed.