Tuesday, November 22, 2011

SharePoint 2007 site definitions and site templates don't work in SharePoint 2010

If you were using Site definitions in SharePoint 2007 that might not work in SharePoint 2010. The reason being that you were using site templates (.STP files) in your code. STP templates are not supported in SharePoint 2010, therefore, your code will surely throw an error. First thing is to update your STP to WSP and then update your site definition code. Also if your site definition code points to 12 hive,  update the reference to 14 hive. To convert your STP files to WSP, read following excellent article:
After you have converted your STPs to WSPs, update your code.

No comments:

Post a Comment