Thursday, February 2, 2012

Error saving site as template

I have been getting error saving as template after migrating from MOSS 2007 tp SharePoint 2010 with database upgrade approach.

Error message:

Error exporting the site field named "Asset"
Error exporting the site field named "Category"

Finally I was able to save site as template after running the below command

stsadm -o activatefeature -name TSATypes -url http://sitecollection URL -force

stsadm -o deactivatefeature -name TSATypes -url http://sitecollection URL -force

That's it..Problem solved.

Features and their GUID’s in SP2010

http://blogs.msdn.com/b/mcsnoiwb/archive/2010/01/07/features-and-their-guid-s-in-sp2010.aspx