Welcome to TechNet Blogs Sign in | Join | Help

Some comments on common Variation problems (last updated: May 21st, 2008)

Jeremy Jameson created an article series which talks about serious problems he ran into when using the variation feature. Unfortunatelly I cannot comment his articles directly as he disabled anonymous comments - and my blog is not on MSDN but on TechNet so I cannot login in MSDN so I have to provide my comment here.

1) Incompatibilty between OOTB variation feature and OOTB content types

The correct solution for this problem is to create a custom site definition template which already uses the correct content types. Adjusting the content type of a page will indeed lead to problems in the content deployment and migration API which is used by the variation feature.

A custom site definition template should be defined for all customized sites and the site should then be propagated with this site defintion template rather than adjusting the content type afterwards.

Background info on the problem: when propagating a site through the variation feature the site definition template used to create the source site is used to create the destination site. This means the default.aspx page will be created based on the content type in the site definition. When later the variation features trys to pair up the pages in the source label with the pages in the destination label it sees the different content types and this causes the problem.

Using a custom site definition that has the correct content type for the default.aspx configured will avoid this problem - and will also reduce the overhead for authors as they don't have to change the content type for the pages over and over again.

2) Enabling of content types on destination labels

Jeremy complains that the variation feature does not enable content types on the Pages library in other labels. This issue has been identified as problem in MOSS 2007 and a hotfix for this issue is currently in the works and should be available short after release of Service Pack 1.
[Update 2008-02-19] The fix for this issue has been included in Service Pack 1

3) Performance Problems when populating the variation

This has been reported by a couple of customers and the product group is currently investigating the issue. Additional indices as outlined in the article are currently not supported as already mentioned by Jeremy.
[Update 2008-05-21] Two hotfixes for this issue have meanwhile been released as KB 952698 and KB 952704. Both hotfixes are required to address this issue.

4) Attempting to create a new variation label after creating a large number of sites and pages results in an out-of-memory error on the server

This issue has been identified as a problem in MOSS 2007 and a hotfix for this issue is currently in the works.

Background info: we identified that the variation feature holds SPSite/SPWeb/PublishingWeb objects of opened sites during the propagation for caching purposes. At the end these objects are properly disposed but if many sites have to be propagated the amount of memory can be to much on 32-bit machines. On 64-bit machines with more virtual memory per process this problem would not cause the variation feature to fail. The hotfix being developed will address this as it will dispose the SPSite/SPWeb/PublishingWeb objects earlier and if required recreates them later rather than caching them in memory.

Be aware that contrary to the statement from Jeremy only part of this change will be included in SP1. To completly address this issue you need the hotfix which will be available shortly.
[Update 2008-02-19] The hotfix for this issue has meanwhile been released as KB 941274

Published Thursday, November 15, 2007 9:14 AM by Stefan_Gossner

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

Thursday, November 15, 2007 5:12 AM by Techy News » Some comments on common Variation problems

# Techy News » Some comments on common Variation problems

Friday, November 16, 2007 5:22 AM by panjkov

# re: Some comments on common Variation problems

How can I programmatically add content type to list of available content types? I am trying to fix up already confirmed bug in variations that don't associate content types with page libraries in destination variation sites.

Tuesday, November 20, 2007 7:02 AM by Sjoert

# re: Some comments on common Variation problems

Thanks for the update! I ran into a lot of issues regarding variations but also found solutions. Posted on http://sjoere.blogspot.com/2007/11/5-reasons-why-you-should-not-use.html.

Wednesday, November 21, 2007 2:13 AM by Shared Points...

# Jeremy Jameson blogs about variations

Jeremy Jameson has blogged about his adventures in variations. Allthough I don't agree with everything,

Wednesday, November 21, 2007 2:57 AM by Noticias externas

# Jeremy Jameson blogs about variations

Jeremy Jameson has blogged about his adventures in variations. Allthough I don't agree with everything

Wednesday, November 28, 2007 7:46 AM by Random Musings of Jeremy Jameson

# Dumping MOSS 2007 Variations - Part 1

Shortly before I headed out to the airport last Wednesday, I received the fateful email from my customer

Wednesday, November 28, 2007 7:59 AM by Random Musings of Jeremy Jameson

# Dumping MOSS 2007 Variations - Part 3

In part 1 and part 2 of this series, I talked about some major issues with the variations feature in

Wednesday, November 28, 2007 8:14 AM by Random Musings of Jeremy Jameson

# Deleting Variation Labels Does Not Delete Underlying Sites

I've received a number of responses to my series on the problems we encountered with Microsoft Office

Wednesday, November 28, 2007 9:11 AM by Noticias externas

# Deleting Variation Labels Does Not Delete Underlying Sites

I've received a number of responses to my series on the problems we encountered with Microsoft Office

Thursday, March 06, 2008 5:46 PM by SPMike

# re: Some comments on common Variation problems (last updated: February 19th, 2008)

It appears that number 2 above still have some problems.

My logs return a The variation system failed to pair up pages

because their Content Types do not match. We have SP1 installed, and we have the language packs installed.

Friday, March 07, 2008 2:45 AM by Stefan_Gossner

# re: Some comments on common Variation problems (last updated: February 19th, 2008)

Hi SPMike,

if you already have incorrect content types in your system then you will see this.

But it should not happen for new pages.

Cheers,

Stefan

Wednesday, April 30, 2008 5:56 AM by narencachy

# re: Some comments on common Variation problems (last updated: February 19th, 2008)

Hi,

I created a Variation label and created hierarchies for Arabic version of my portal, now I can see 2 home page tabs and one more tab for Arabic version portal. Now I just want to delete what I created. How can I delete? any ideas? And want to  inform you one thing, home page of my portal has been changed to the Arabic version. please do needful..

Cheers,

Naresh

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker