Foros‎ > ‎Sharepoint‎ > ‎

Microsoft SharePoint Foundation version 3 templates are not supported in this version of the product – Error

publicado a la‎(s)‎ 22 oct. 2012 6:50 por Ignacio Gonzalez

I have been working on migrating an existing MOSS 2007 customisation to a new SharePoint 2010 environment. Most of the stuff was straightforward (some webparts, webservices, a few event handlers, …), but there was one thing that didn’t work out as planned.

My predecessor relied on list templates stored in STP files to deploy the custom list templates and create some lists instances based on them.

Now, while STP site templates are no longer supported, STP list templates should still work in SharePoint 2010. Unfortunately things were a bit trickier than I expected them to be.
As a test I started with uploading one of the original STP’s to the template catalog (_catalogs/lt). No problem so far, but when I tried to create a list based off that template I got the following error:

Error
Microsoft SharePoint Foundation version 3 templates are not supported in this version of the product
Correlation ID: {guid}
Date and Time: …

If you need to migrate list templates STP’s from SharePoint 2007 to 2010, you could try the following to overcome this issue:

  1. Rename the original .STP to .CAB
  2. Extract its manifest.xml to a local folder (lets call it {workingfolder})
  3. Search for the ProductVersion element. This should have a value of 3
  4. Change its value to 4
  5. Repackage the manifest.xml into a .CAB. I have done this by using makecab.exe in the C:\Windows\System32 folder
    Syntax: makecab.exe {workingfolder}\manifest.xml {workingfolder}\{template-name}.cab
  6. Change the generated cabinet’s extension from .CAB back to .STP and upload it into the _catalogs/lt
  7. Now create your SharePoint list with your template you had updated

Now no more errors when creating lists from that template






Fuente: http://sprider.org/2011/08/23/microsoft-sharepoint-foundation-version-3-templates-are-not-supported-in-this-version-of-the-product-error/

Comments