Error creating solution. The maximum total file size limit (xxxxx bytes) has been exceeded in SharePoint 2010

Problem You try to save your site as a site template but SharePoint throws up the error: Error creating solution. The maximum total file size limit (xxxxx bytes) has been exceeded in SharePoint 2010. Solution You need to use powershell to change the solution file size limit in SharePoint. This cannot be done from the […]

Continue Reading...

Using Powershell to Add and Activate a Sandboxed Solution or Site Template

Problem My recent adventures have required me to work extensively with Site templates. The site template was created with the SharePoint 2010 UI but had to be imported to an old Intranet site running SharePoint 2010 but using the 2007 UI. After uploading the solution (.wsp) file to the old Intranet site, I found that I […]

Continue Reading...

Export / import all WSP (solutions) between farms.

Requirement Sometimes you need a quick way to deploy all solutions from your test environment to your production farm. Solution Found a great site that shows you how to do this with Powershell in 3 simple commands. http://msmvps.com/blogs/shane/archive/2011/05/05/using-powershell-to-export-all-solutions-from-your-sharepoint-2010-farm-and-other-fun.aspx  

Continue Reading...

Exporting solutions between farms

Requirement Export all solutions from one farm and deploy it to another farm. Solution Using Windows Powershell, run the following commands: Export farm solutions (Get-SPFarm).Solutions | ForEach-Object{$var = (Get-Location).Path + “\” + $_.Name; $_.SolutionFile.SaveAs($var)} This will export all solutions in the farm to the path “\”. Solutions were exported to C:\ as *.wsp files. You […]

Continue Reading...