Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

This question already has an answer here:

I need to restore a template with size greater than 500MB. Is it possible to circumvent the limit?

share|improve this question
    
that was for WSS 3.0... this is for SP2010 –  saumilm Jun 11 '12 at 8:25
    
I agree it was for WSS 3.0 –  Falak Mahmood Jun 11 '12 at 8:33
add comment

marked as duplicate by Falak Mahmood, John Chapman, Hugh Wood, PirateEric, RJ Cuthbertson Feb 8 '13 at 3:31

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

up vote 3 down vote accepted

Open SharePoint 2010 Management Shell and run the following PowerShell:

$docSize = 50000000
$webservice = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
$webservice.MaxTemplateDocumentSize = $docSize
$webservice.Update()

Accroding to MSDN, it should be between 0-500MB, but you can go beyond 500MB AFAIK.

share|improve this answer
    
How to go beyond 500MB? –  saumilm Jun 11 '12 at 10:19
1  
Erm - set $docSize greater than 500MB at a rough guess. –  Ryan Jun 11 '12 at 10:28
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.